Picking a Random Record Using a Stored Procedure There are a number of articles here on 4Guys and ASPFAQs.com that examine how to return a random record from a database table. One approach is to use a stored procedure that builds a temporary table in order to remove the gaps between a column's identity
Learn SQL Server 2000 in 15 Minutes a Week: Intro to SQL and T-SQL Mike Aubert's latest article in the Learning SQL Server Administration in 15 Minutes a Week series focuses on introducing the reader to Structured Query Language, or SQL, and also covers T-SQL and transaction logs
The sql_variant Datatype Microsoft introduced the sql_variant in SQL Server 2000. You can use the sql_variant to store data of an unspecified or inconsistant type. Or to store data of almost any SQL Server datatype
Why do I get a closed recordset from my stored procedure? If you have tried to work through the resulting Recordset, you may have difficulties. This is due to how SQL Server and ADO work together when using stored procedures with multiple SQL statements. To learn how to fix this, and to allow for multiple SQL s..
Compare SQL Server Databases with sp_CompareDB I bet almost every DBA has at times desperately wanted to be able to compare data and structure between database tables, or even whole databases for that matter. Wouldn’t it be nice to have a stored procedure that uses only two parameters -- the name of ..