Thursday 22 August 2013

Getting Size of ALL Databases in the Current server


Use Master
Go
EXECUTE sys.sp_MSforeachdb 'USE [?]; EXEC sp_spaceused'

No comments:

Post a Comment