Thomas LaRock: "Without a basic understanding of wait events and how the occur, you will waste a lot of time trying and guessing at how to improve the performance of a query." Optimizing SQL Server ...
-- This script returns information on each user-created statistics object, along with the DROP STATISTICS object to run if appropriate. SELECT DB_NAME() AS [Database], schema_name(T.schema_id) AS ...