TechNet SQL Server 2005 Script Repository
Posted by decipherinfosys on March 18, 2008
In case you have not looked at the technet SQL Server 2005 Script Repository, we would strongly recommend you to do so. You can access the scripts using this link:
http://www.microsoft.com/technet/scriptcenter/scripts/sql/sql2005/default.mspx?mfr=true
Not only are the scripts a good way of troubleshooting issues, they are an excellent way of learning the DMVs, DMFs and the internals of SQL Server.

