July 16, 2001 at 6:03 pm
I want to show physical files and size of all dadtabases, not just one, how do I do it?
July 16, 2001 at 6:51 pm
Take a look at this article, shows how to use the undocumented sp_msforeachdb - basically hides the work of opening a cursor and running through the list from sysdatabases.
http://www.sqlservercentral.com/columnists/bknight/sp_msforeachdb.asp
Andy
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy