All Databases size

Hi Team,

 

I want all Databases Size in my instance can any body please provide the script.

 

Tx

 

July 28th, 2011 2:19pm

Hi,

 

Try 'sp_helpdb'.

 

Thanks,

 

Stephen

Free Windows Admin Tool Kit Click here and download it now
July 28th, 2011 2:26pm

Hi,

 

Try this...

 

EXEC sp_MSforeachdb 'USE ?; exec sp_spaceused'

 

 

July 28th, 2011 2:30pm

Try this link for three different ways to get database sizes.

Get the Database Sizes in a SQL Server

Free Windows Admin Tool Kit Click here and download it now
May 9th, 2015 2:16pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics