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.

這篇文章有幫助嗎?

 列印本文

Also Read

How do I access SQL Server 2008 Database using SQL Server Management Studio?

Please follow the steps listed below in order to access or connect your SQL 2008 database using...

I am able to view and access a SQL database other than my own while connected with Enterprise Manager, Query Analyzer, or the SQL Web admin. What is wrong?

This happens because the customer has added Guest Access/Public to their SQL...

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...

Can I use mssql 2008 if I built my database using mssql 2005?

Yes you can use the mssql 2008 although you build your db using mssql 2005. The database can be...