SQL Server 2005 Samples gave learners AdventureWorks and the smaller AdventureWorksLT. Why they mattered and where to find sample databases today.
SQL SERVER – Creating Comma Separate List From Table
This post now points to my updated script for creating a Comma Separate Values List from a table, rewritten in May 2007 to support SQL Server 2005.
SQL SERVER – Function to Convert List to Table
This old post now points to my updated UDF, the Function to Convert List to Table, which I rewrote in May 2007 to support SQL Server 2005.
SQL SERVER – UDF – Function to Convert Text String to Title Case – Proper Case
My UDF udf_TitleCase converts any string to Title Case, also called Proper Case. The post has a sample call, its output and the full T-SQL code of the function.
SQL SERVER – ReIndexing Database Tables and Update Statistics on Tables
ReIndexing Database tables with DBCC DBREINDEX and sp_MSforeachtable, then sp_updatestats to refresh statistics. Two scripts, including the one I prefer.






