@@SERVERNAME (TSQL Function)
Returns the machine/service name of the RSQL instance on which this session is running.
It is the server parameter SERVER_SERVERNAME.
At installation, this parameter is assigned the string machine name/instance base directory name.
See also the function @@SERVICENAME.
Syntax
@@SERVERNAME
Return Types
Returns varchar.
Examples
PRINT @@SERVERNAME;
The result will be different on your installation:
jupiter/RSQLServer