December 1, 2006 at 6:06 am
you should not have to do a reboot, I believe simply stopping and starting the SQL service is all that is required. when the service starts, all the @@variables and SET options are loaded fresh.
I tested this to be sure:
sp_dropserver DAISY
sp_addserver WONDERFUL, 'LOCAL'
[stopped and started the service]
select @@SERVERNAME returned WONDERFUL
sp_dropserver WONDERFUL
sp_addserver DAISY, 'LOCAL'
[stopped and started the service]
select @@SERVERNAME returned DAISY
it's a lot easier to stop and start teh service for a few seconds than a reboot.
Lowell
December 1, 2006 at 9:54 am
Thanks
The reboot of the service or the server is what I am trying to avoid. lol
Looks like I am going to have a window this weekend as my systems group is applying some new patches, and wants to take all apps down for a few minutes.
Thanks again
Eric
December 1, 2006 at 1:03 pm
Most of the configurations are dynamic in SQL2005 but this server name change is not dynamic...
May be in next release![]()
MohammedU
Microsoft SQL Server MVP
Viewing 3 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply