Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Determine free space in mdf, ldf, ndf

Author  Topic 

X002548
Not Just a Number

15586 Posts

Posted - 2010-01-27 : 16:23:49
Hi,

I'm in the witless protection program...

Does anyone know of a command line that shows me the allocated, used, and free space of the aforementioned files?

sp_spaceused only gets me


database_name database_size unallocated space
-------------------------------------------------------------------------------------------------------------------------------- ------------------ ------------------
dba 801.94 MB 25.49 MB

reserved data index_size unused
------------------ ------------------ ------------------ ------------------
364936 KB 363576 KB 1016 KB 344 KB




Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



   

- Advertisement -