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 |
|
Mazdak
Yak Posting Veteran
63 Posts |
Posted - 2002-11-01 : 13:48:57
|
| How can I get ID of database? |
|
|
Page47
Master Smack Fu Yak Hacker
2878 Posts |
Posted - 2002-11-01 : 13:56:40
|
| You could use the db_id() function.Jay White{0} |
 |
|
|
Mazdak
Yak Posting Veteran
63 Posts |
Posted - 2002-11-01 : 14:28:57
|
| How can I get with a query? |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2002-11-01 : 14:50:22
|
| SELECT db_id() |
 |
|
|
|
|
|