Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Get Data/Log File Names, Sizes, Percent Utilization--ALL DBs

By John Jakob,

This Stored Procedure Will Get: - The Data and Log File Names - The Data and Log File Sizes (MB) - The Data and Log Percent Utilization (%) for ALL Databases on a SQL Instance. Numbers Should (More Or Less) Reflect What You See on The SQL Enterprise Manager Taskpad. LIMITATIONS: For Databases With Multiple FILEGROUPS, it will only list information on one (the last) FILEGROUP! NOTE: Output Looks Best in Query Analyzer's "Results In Grid" Pane. Tested On SQL 7 and SQL 2000. But No Guarantees of Accuracy Made--Use At Your Own Risk! John Jakob zgraf@yahoo.com

Total article views: 1115 | Views in the last 30 days: 2
 
 
Contribute