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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

select @@servername returns null

Status
Not open for further replies.

fousek

MIS
Nov 29, 2000
16
0
0
US
On all of my 2000 SQL Servers, the command

select @@servername

returns null instead of the local server name. I did an

sp_addserver my_server_name, local

Was there anything else I needed to do?

Thanks in advance!

APF
 
My apologies. I posted this on the wrong forum and can't figure out how to delete it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top