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

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

How do I find my MS SQL Server or Host Address?

Please follow these steps below to obtain that information : Login to your DotNetPanel :...

Do you support MSSQL Express?

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

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?

...