January 2009
You can change many configuration options in SQL Server 2005 and SQL Server 2000 simultaneously by using a.config file and a T-SQL stored procedure that automates the use of the sp_configure system stored procedure.
SQL Server Magazine
October 2008
Use this password-cracking tool to check the complexity of the passwords being used for SQL Server database logins.
SQL Server Magazine
August 2008
Here's a T-SQL stored procedure that finds and moves the clustered-indexes user tables you specify from old file groups to new file groups.
SQL Server Magazine
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
April 10, 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 IT Pro
March 2, 2006
SQL Server Magazine
February 13, 2006
Here’s a simple yet generic solution for exporting or importing data. This solution consists of two stored procedures: BCPObject and ExpOrImpDB.
Windows IT Pro
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
December 12, 2005
The getMaxResourceConsumeSessions stored procedure lets you quickly identify the sessions that are consuming most of a SQL Server machine's resources.
Windows IT Pro
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