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.

Was this answer helpful?

 Print this Article

Also Read

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 do I configure the SQL Server Client connection protocol?

To connect to a remote MS SQL Server over the Internet using SQL clients (Enterprise Manager,...

Do you support MSSQL Express?

Yes, we support the MSSQL Express Hosted Edition. If you create .mdf file on your local machine,...

How to use SQL Management Studio Express 2005?

Open your SQL Management Studio Express 2005 on your local machine.Step 1) Type the ServerName:...

Can I have more than 1 database with my MS-SQL account?

Yes, please contact us at sales@seekdotnet.com for more information. We provide a flexible web...