This book and its predecessor—Inside Microsoft SQL Server 2005: T-SQL Querying—cover advanced T-SQL querying, query tuning, and programming in SQL Server 2005. They are designed for programmers and DBAs who need to write and optimize code in both SQL Server 2000 and 2005. For brevity, I'll refer to