Sql server 2005- sp_helpdb

Posted by Joggee | SQL Tips and Tricks | Tuesday 25 September 2007 9:33 am

EXEC sp_helpdb;
This will return the information about all the database on the connected server.

EXEC sp_helpdb N’AdventureWorks’;
To get a particular database information, provides database name.

1 Comment »

  1. Comment by Pawan ( http://www.sqlserverquestions.blogspot.com ) — October 22, 2007 @ 9:29 am

    I m happy to read this.

RSS feed for comments on this post. TrackBack URI

Leave a comment