Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What SQL returns the size of a database?

Status
Not open for further replies.

CapsuleCorpJX

IS-IT--Management
Jun 23, 2004
70
US
What SQL statement can I run to get the max size, and current size of a database?
 



look at the views

DiskSpace and DiskSpaceX

The X version by default will show you only the databases you have some access to.

If you want individual table sizes look at....

TableSize and TableSizeX;

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top