Pawan Singh

I am related to Software Industry working as SQL Database Administrator, so I have created this blog to collect useful information about my area of work. It may contains references to stuff published somewhere else on internet [with full regards to the publisher, of course] and also some of my own. I will also post some out of the box stuff too, if I find it interesting.

Thursday, 15 August 2013

Automated Monitoring Database Size Using sp_spaceused

Use this:
exec master.dbo.sp_msforeachdb "exec [?].dbo.sp_spaceused"


For more information please go to the below link:

http://www.sqlservercentral.com/articles/Administration/2771/
Posted by Pawan Singh at 12:11

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ▼  2013 (6)
    • ▼  August (6)
      • SQL SERVER – Fix: Error: 15138 – The database prin...
      • CPU Utilization by SQL Server
      • How to identify all active SQL Server Sessions
      • Memory used by each SQL Server Databases
      • Automated Monitoring Database Size Using sp_spaceused
      • SQL Server Wait Types - SQL Server Performance Tro...
  • ►  2011 (3)
    • ►  September (2)
    • ►  February (1)
  • ►  2009 (2)
    • ►  January (2)
  • ►  2008 (17)
    • ►  December (5)
    • ►  October (5)
    • ►  September (5)
    • ►  February (2)

About Me

My photo
Houston, Texas, United States
View my complete profile
Simple theme. Theme images by luoman. Powered by Blogger.