Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
vmurali
Yak Posting Veteran
88 Posts |
Posted - 2007-10-10 : 03:05:38
|
| Hi, How to get the database names given the server name.I want get names of all database which are present in an server.RegardsVenkatesh Murali |
|
|
elancaster
A very urgent SQL Yakette
1208 Posts |
Posted - 2007-10-10 : 03:08:21
|
| select [name] from sys.databasesEm |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2007-10-10 : 04:07:43
|
| If you use SQL Server 2000, thenSelect [name] from Master..sysdatabasesMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|