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

@@servername returns NULL

Status
Not open for further replies.

holdahl

IS-IT--Management
Apr 4, 2006
213
NO
I'm trying to run commdand select @@servername on one of our new ASE 15 servers.
The output says NULL.

Where do I define the @@servername?
I need to return the name of the db server.


-holdahl
 
add server type local using sp_addserver and then restart the dataserver.

select * from sysservers where srvclass=0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top