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 |
|
bbrown722
Starting Member
5 Posts |
Posted - 2010-10-25 : 12:21:22
|
| how to get name of database sqlserver 2008BRENDA BROWN |
|
|
pk_bohra
Master Smack Fu Yak Hacker
1182 Posts |
Posted - 2010-10-25 : 12:27:08
|
| Try:select @@SERVERNAME |
 |
|
|
bbrown722
Starting Member
5 Posts |
Posted - 2010-10-25 : 13:52:54
|
| Thank you so much for your help. But that did not work.BRENDA BROWN |
 |
|
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2010-10-25 : 14:10:23
|
| Define 'did not work'Syntax error?Not the answer you want? In that case, how do you tell and please explain more what you want.--Gail ShawSQL Server MVP |
 |
|
|
|
|
|