|
|
Monday, July 14, 2003 |
|
Search all objects in all DBs for code fragments Today's procedure is probably one of my favorites. Xp_fixeddrives tells you all the hard drives that are on your SQL Server and how much space you have on each of them. This is a great monitoring script for determining low hard drive space and I use it to raise alerts typically. Another useful application would be to execute it before firing off an extract process to ensure you have space for the ETL before running the load procedure. To execute xp_fixeddrives, use the following syntax: master..xp_fixeddrives which will output results similar to this: drive MB free ----- ----------- C 1773 D 1386 E 12429 F 29276
9:06:56 AM |
