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)
Thank this author by sharing:
By Gonzalo Moles,
Tells you how much the databases are using the space on disk taking in account the free space at the end of the database and the sum of space used bay all databases per disk. Useful to see how much space you can gain on disk if you shrink your databases on a specific disk unit.
Sql 2000, Database don't have avialable space
After Truncate a table database not releasing the space.
SQL Server will autogrow your databases as they run out of space. But the process doesn't manage spa...
Retrieve data about size and space used for all the files in the current database with this script.
sys.dm_db_file_space_usage DMV (Dynamic Management View), described by BOL as follows: http://msdn.m...