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

Change collation type in SQL Server

To change a collation of database use this statement. USE Tempdb GO ALTER DATABASE Pubs COLLATE...

Can I have more logins for my MS SQL database?

For old In House Control Panel : No. We only provide a single database user login. For...

MSSQL db change identify specification not permit

...

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 to connect to SQL Server 2000 using Query Analyser?

To connect to your Microsoft SQL Server 2000 database using the Query Analyser, you will...