Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to list databases
Message
 
To
02/08/2011 05:26:01
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01519867
Message ID:
01519868
Views:
36
>Hi
>
>What sql command will list all the databases on a server for me.
>I want to copy the list to a file so I can arrange some tidying up by getting people to identify whats to be kept and whats to go.
>
>Thanks
>
>Nick
>
>Its ok I found it.
>
>EXEC sp_helpdb
SELECT * FROM sys.databases 
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform