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 |
|
Mathias
Posting Yak Master
119 Posts |
Posted - 2007-03-16 : 09:10:27
|
| Let's say, we are connected to the master database (use master). What select statement do I need to do to get 'master' as result of a select statement? |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-03-16 : 09:14:34
|
| select db_name()Peter LarssonHelsingborg, Sweden |
 |
|
|
Mathias
Posting Yak Master
119 Posts |
Posted - 2007-03-19 : 03:32:45
|
| Thanks. |
 |
|
|
|
|
|