December 2007
LoadTraceFileToTable loads the data from a trace file into a trace table so that you can easily sort and analyze that data.
SQL Server Magazine
November 2007
To determine the number of occurrences of a substring within a string, a user-defined function (UDF) performs a simple arithmetic calculation.
SQL Server Magazine
June 2007
The sp_markAllMasterDBasSystem stored procedure can help protect the T-SQL objects you've created by marking them as system objects.
SQL Server Magazine
April 2007
Here's a stored procedure that displays all the T-SQL statements currently being executed along with the IDs of the processes running those statements.
SQL Server Magazine
March 2007
The showViolatingRows procedure automates the tedious task of finding rows that violate check and foreign-key constraints.
SQL Server Magazine
October 26, 2006
The sp_showConstraints stored procedure is an alternative to using sp_helpconstraint when you need to find all the constraints for a table.
SQL Server Magazine
May 2006
Together, the suggestIntType and scanIntIndex procedures search for indexed integer columns in a database and determine whether the optimal data type is used for those columns.
Windows Scripting Solutions
March 2, 2006
SQL Server Magazine
March 2006
Here’s a simple yet generic solution for exporting or importing data. This solution consists of two stored procedures: BCPObject and ExpOrImpDB.
Windows Scripting Solutions
January 31, 2006
The sp_GetAllSQLMediaTypes stored procedure lists the names of all the available media and their types on a SQL Server machine.
SQL Server Magazine
January 31, 2006
By compiling sp_LogSpace in a master database and calling it from an updated version of sp_SpaceUsed, you can extend the ability of sp_SpaceUsed to obtain transaction log statistics.
SQL Server Magazine
January 2006
The getMaxResourceConsumeSessions stored procedure lets you quickly identify the sessions that are consuming most of a SQL Server machine's resources.
Windows Scripting Solutions
October 31, 2005
The getSQL_IPaddr.sql procedure uses the Ipconfig utility to dynamically find the IP address of a server running Microsoft SQL Server.
SQL Server Magazine
Add these Headlines to your Website