MikeSchall
Programmer
I am looking for a way to find database file sizes. I would like to know Data and Log File Sizes, actual used space(data, index, and log). I would also like them in the same unit. Bytes would be nice, but at most KB. I have looked into
sp_spaceused
sp_helpdb (<databasename>)
DBCC SQLPERF (LOGSPACE)
each of these gives the values in different units that don't add up thanks to the rounding of the values.
Thanks for your time.
sp_spaceused
sp_helpdb (<databasename>)
DBCC SQLPERF (LOGSPACE)
each of these gives the values in different units that don't add up thanks to the rounding of the values.
Thanks for your time.