If I am working on a SQL server database am I able to obtain the name of the server I am currently on by using the SQL command 'SELECT [srvname] FROM [sysservers] WHERE [srvid] = 0' if I am connected to the 'master' database ?
Would this always give me the server name ?
Thanks in advance.
Steve
Would this always give me the server name ?
Thanks in advance.
Steve