SQLTutorials           P1Station
Powered By PhICK1.com            http://sqltutorials.blogspot.com/
TSQL function to detect SQL Agent job state

This article has a T-SQL function to detect the SQL Agent job state.



Raw Materials - Consultant, Superstar

Does success in one field transfer to another?



Converting String Data to XML and XML to String Data

In general XML documents or fragments are held in strings as text markup. In SQL Server, XML variables and columns are instead tokenised to allow rapid access to the data within. This is fine, but can cause some odd problems, such as ' entitization'. What do you do if you need to preserve the formatting? As usual Rob Sheldon comes to our aid.

SQL Monitor The Future of SQL Server Monitoring
"Being web-based, SQL Monitor
enables you to check on your servers
from almost any location" Jonathan Allen.
Try SQL Monitor now.


Aggregate Function Product()

The TSQL aggregate function SUM() gives a number based on the addition of the values of multiple rows to each other. Do the same thing but with multiplication instead of addition.



TSQL Challenge 75 - Find the Episode and Sequence based on interval

The challenge is to find the Episode and Sequence based on interval.



Great SQL Server Debates: Buffer Cache Hit Ratio

One of the more popular counters used by DBAs to monitor SQL Server performance, the Buffer Cache Hit Ratio, is useless as a predictor of imminent performance problems. Worse, it can be misleading. Jonathan Kehayias demonstrates this convincingly with some simple tests.



Stairway to SQL Server Replication - Level 7: Merge Replication – Subscription

This level of the Stairway will cover the details of SQL Server transactional and merge replication, from understanding the basic terminology and methodology of setting up replication, to describing how it works and how the basic replication processes can be monitored.



Do you know your getdate()?

This article takes a closer look at SQL Server getdate() and sysdatetime() functions.



Registration for SQL Bits X is now open

If you will be in London on Mar 29th, come to the official UK launch of SQL Server 2012 at SQL Bits X.



A Computed Column Defined with a User-Defined Function Might Impact Query Performance

A benefit of using computed columns is that they can save developers from having to write calculation logic at the application layer; at the table level, the application can simply reference the computed column. In addition, performance can be improved by persisting a computed column and building an index on it.



Twist in ISNULL function

Be careful while using the ISNULL function



Raw Materials - Refugees

Why are they here? Why is anyone?



Post a Twitter Status Update using T-SQL

Learn how to post a Twitter status update with 5 lines of T-SQL using a third party library.



Confessions of a DBA: My Worst Mistake

To kick off a series of DBA worst case scenarios, we asked Phil Factor to confess. He came up with a classic: The mistaken belief that a backup WITH CHECKSUM guaranteed a good backup that could be restored, and the ensuing disaster.



Stairway to SQL Server Indexes: Level 11, Index Fragmentation

Internal and external fragmentation – Causes, cures, and when not to care



Learn about SQL Server 2012 in the desert

Come see Brad McGehee, Grant Fritchey, Steve Jones, and more SQL Server speakers at the SQL Server Connections conference in Las Vegas this spring. Get away from the cold on Mar 26, 2011 and learn about the new version of SQL Server.



Get Alerts for Specific SQL Server Login Failed Events

In a recent MSSQLTips.com question, a user asked how they could get an alert whenever a login failed due to the account being locked out. As with many problems, there are several ways to solve this issue.



Fun with sp_executeSQL

Switching from 32 BIT SQL Server to a 64 BIT edition illustrates how removing a bottleneck from a system can have a detrimental affect overall



SQL Saturday Precon - SSIS Design Patterns

SQL Saturday is hitting Dublin for the first time on March 24th.



Raw Materials - Healthy Caution or... Something Else?

Derek slips a cog.



SQL Server 2008 and 2008 R2 Integration Services - Sampling Transformations

Row Sampling Transformation and Percentage Sampling Transformation provide data sampling functionality. This functionality is useful in a number of Analysis Services and Data Mining-based scenarios.



SQL Server Log Shipping Between Standalone\Workgroup Computers

This article describes the requirements to log ship databases between workgroup computers



Come to see the SQL Server 2012 Launch at DevConnections

On Mar 26-29 in Las Vegas, the DevConnections conference is hosting a launch of SQL Server 2012. Come to the conference and learn more at the SQLServerCentral track.



Indexing - Take the Hint and Leave it to the Experts

The most common T-SQL command in use has to be the SELECT statement, it is the bedrock of any SQL Professional's day. Sometimes it's used to snatch some data from a table or two while some quick investigation is done, other times it is at the heart of a stored procedure or view that will inform business decisions for coming months or even years.



Stairway to Transaction Log Management in SQL Server, Level 5: Managing the Log in Full Recovery Mode

In FULL recovery mode it is possible to do a point-in-time restore of a database. It is thankfully a rare event. Tony explains what's involved



Solving the Running Total and Ordinal Rank Problems (Rewritten)

Revisiting his very popular article on the running total and ordinal rank problems, MVP Jeff Moden brings us a detailed analysis of how you might want to implement a solution in T-SQL.



Cumulative Aggregates in SQL Server Reporting Services

In this tip, we will see how to build a report which shows the cumulative sales amount for the current month, current quarter (QTD) and current year (YTD) in a single crosstab (tablix) report, which makes it easy to compare the data.



Process Support Database Framework

Do you use or need a database process framework? Read on to see if this is something that might help you build better database software processes.



Raw Materials - Wake-up Call

A robot's reaction may be a little different from yours or mine.

SQL Backup Get Smart with SQL Backup Pro
Powerful centralised management, encryption and more.
SQL Backup Pro was the smartest kid at school
Discover why.


Using XML to pass lists as parameters in SQL Server

Every so often, the question comes up on forums of how to pass a list as a parameter to a SQL procedure or function. Phil Factor provides some examples using XML, and tests them against other popular methods.



Using SQL Server Resource Governor to Control Resource Utilization

A few years ago there was an MSDN forum post:

My SQL Server is accessed by several end user applications. When all the applications are in action my server performance is going down. Some of those applications are business ... [Read Full Article]



Performance Troubleshooting with Windows Resource Monitor - Part 2

In  Troubleshooting Performance with Resource Monitor Part 1 we looked at getting with started the Resource Monitoring interface and using the CPU tab to diagnose performance issues.


The Memory tab

The Memory tab is different from others in ... [Read Full Article]



Performance Troubleshooting with Windows Resource Monitor

There is a handy little tool in Windows Server 2008 R2 that can help system administrators and DBAs better diagnose server performance issues. It’s called the Resource Monitor. Resource Monitor is also present in Windows Server 2008, but its interface ... [Read Full Article]



Adding Column to a SQL Server Table

Adding a column to a table is  common task for  DBAs. You can add a column to a table which is a nullable column or which has default values. But are these two operations are similar internally and ... [Read Full Article]



Implementing Database Settings Using Policy Based Management

Introduction

Database Administrators have always had a tough time to ensuring that all the SQL Servers administered by them are configured according to the policies and standards of organization. Using SQL Server's  Policy Based Management feature DBAs can now ... [Read Full Article]



SQL Azure Performance - Query Optimization
This article outlines the main techniques for optimizing queries running on SQL Azure.
buy amoxicillin no prescription
canadian pharmacy viagra
100 mg viagra price
buy kamagra online
buy generic cytotec
lowest viagra price
cheap online ... [Read Full Article]


Manage and Monitor Identity Ranges in SQL Server Transactional Replication

Problem

When using transactional replication to replicate data in a one way topology from a publisher to a read-only subscriber(s) there is no need to manage identity ranges. However, when using  transactional replication to replicate data in a two way ... [Read Full Article]



Using PowerShell to Manage SQLServer

The purpose of this article is to demonstrate a custom scripting framework which enables the management of SQLServer databases from a Windows PowerShell session and also to extend Powershell's flexibility by creating a set of commands customized to our needs. ... [Read Full Article]



Ensure a .NET App Works in Both 32 bit and 64 bit Environments
With 64 bit versions of Windows fast becoming the standard it is imperative that an app work in both 32 bit and 64 bit environments, this article demonstrates how to ensure your app can work in ... [Read Full Article]


SQL Server Index Maintenance Performance Tuning for Large Tables

It is nothing really new that indexes have their right to exist in SQL Server. It is also nothing really new, that these indexes need to be maintained every now and then, even though this might be surprising for ... [Read Full Article]




powered by www.pHick1.com

SQLTutorials
Sql Server Related Links
Programming
News