Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print out serverid?

Status
Not open for further replies.

twifosp

Programmer
Jul 25, 2003
186
US
is there a system variable I can write out that would display the serverid?

I basically want to be able to write out the same value inside c# that you get if you run
 
What serverid?
The one that you get by running sp_helpdb in MS-SQLServer?

(Sorry, can't follow the link - firewall rules don't allow it).

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top