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, 2 October 2008

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 13:50

No comments:

Post a Comment

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

Blog Archive

  • ►  2013 (6)
    • ►  August (6)
  • ►  2011 (3)
    • ►  September (2)
    • ►  February (1)
  • ►  2009 (2)
    • ►  January (2)
  • ▼  2008 (17)
    • ►  December (5)
    • ▼  October (5)
      • How to check Service Broker is Enabled or Disabled...
      • Automated Monitoring Database Size Using sp_spaceused
      • Determing SQL Server Table Size
      • Collation Setting Change In SQL 2005.
      • Is there a way to determine node name in SQL using...
    • ►  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.