sp_showSpace.sql

This is a modification of the sp_spaceused procedure. I put it in a weekly scheduled task so I can monitor database growth. You can check the task history window to see the results, or, you can specify an optional LOG parameter and it will posts the results to the NT Application log. I run it after scheduled maintenance has run the proper DBCC commands to update the database size information.

For SQL Server 6.5

Author: Steve Hontz

Download Script:
sp_showSpace.sql



Disclaimer:
We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…

Disclaimer Continued

Back to Database Journal Home

Previous article
Next article

Get the Free Newsletter!

Subscribe to Cloud Insider for top news, trends & analysis

Latest Articles