Home Forums SQL Server 2008 SQL Server 2008 Administration Finding the size of databse at Server level RE: Finding the size of databse at Server level
Ant-Green
SSC Guru
Points: 113445
More actions
January 24, 2013 at 3:36 am
#1580450
query sys.master_files, there is a size column which is in pages, so multiply the value by 8, to get size in KB for that file, then sum them up based on the database.
Wont get you used space or free space, but will get total space