normally we had to reinstall the whole server again. but luckly we can update the SQL Server name After the machine change (connection to TFS after rename is a different issue...)
run the following in SSMS:
- run "Select @@servername" to verifiy the current server name
- run the following script to update the server name sp_dropserver 'old_name'
- Restart SQL Server service. I prefer the command prompt for this, but you can just as easily do it in Services under the Control Panel
- net stop mssqlserver
- net start mssqlserver
- Then after that is done run "select @@servername" to check the new name
go
sp_addserver 'new_name','local'
go
No comments:
Post a Comment