Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 SQL Server Name not same as Windows Server Name

Author  Topic 

jbates99
Constraint Violating Yak Guru

396 Posts

Posted - 2013-08-27 : 14:26:24
Hi all,

@@servername returns SERVER1E but actual windows server name is SERVER1

Ping Server1E gets no reply.

Is it likely the server name was changed in Windows at some point?
Thanks for any tips

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2013-08-27 : 14:59:27
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/894df9bd-c7c2-4ad1-8ed9-681e72521f28/servername-returns-wrong-value-in-sql-server-2008

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -