Find the Windows Server Name
I was working with SQL2000 on a windows cluster. I needed to write the results of a query to a test file on the local drive. I was using @@servername to get the server name to write the file. Unfortunately that appends the instance name and gave me a problem. So I went looking for [...]







.
.
.