Hi,
I have restored my databases from an old cluster of sql server 2000 to a new one (including system databases).
After that the servername (select @@servername) refers to the old one. Is there a way to modify it in order to match the new one?
I tried with sp_dropserver and sp_addserver but the @@servername becomes null while serverproperty ('servername') reports the new server name correctly.
Plagurised from another site - was this you?
restart your server
verify the machine name
check if select @@servername is the same
if not, then use sp_dropserver 'oldname'
restart the services
issue sp_addlinkedserver @server='newname',@local='local'
restart the services
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.