How do I obtain the MS SQL database disk usage?

Execute this command in Sql Query Analyzer

exec sp_spaceused

The database size is measured in kilobytes.

Hai trovato questa risposta utile?

 Stampa Articolo

Leggi anche

How to transfer SQL database from My Database Server to your Database Server

From the Start Menu, select Programs -> Microsoft SQL Server -> Import and...

How can i generate scripts for MS SQL Database?

Your default database user don't have privillages to do that You can just create a support...

How to connect to SQL Server 2000 using Enterprise Manager?

To connect to your Microsoft SQL Server database using Enterprise Manager to manage your...

How to restore my mssql database?

Old control panel -    Upload the backup file in .zip extension onto your root...

How to connect to SQL Server 2000 using Query Analyser?

...