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 |
|
prakashuj
Starting Member
12 Posts |
Posted - 2008-01-03 : 23:53:26
|
| Dear All,Can any one help how to fetch all the Database name exist in that Servereg: if Server1 is having DB1,DB2,DB3 Database,how can i retrive all three database names |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2008-01-04 : 00:12:51
|
| SELECT name FROM sys.databasesTara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-01-04 : 08:10:04
|
| and more info can be found withEXEC sp_databasesEXEC sp_helpdbMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|