Viewing 3 posts - 1 through 3 (of 3 total)
Here is what I ran:
This will
exec sp_dropserver 'hqsq_GOLD\NP' --the incorrect name
go
exec sp_addserver 'HQSQLTST01\NP','local' -- the correct name
March 19, 2009 at 7:51 am
#962701
Yes, I did include the named instance. (NEWSERVERNAME\Instance)
March 19, 2009 at 7:45 am
#962695
Rudy,
I have a VM SQL Server. When I copied the VM and created a new server, the SQL server in SELECT @@SERVERNAME is the original server.
I followed the suggestions:
exec sp_dropserver...
March 18, 2009 at 4:13 pm
#962326