Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» Sitemap
Free Newsletters:
DatabaseDaily  
News Via RSS Feed


follow us on Twitter
Database Journal |DBA Support |SQLCourse |SQLCourse2
 

Featured Database Articles

MS SQL

Posted Apr 24, 2003

A Server by Any Other Name - Page 4

By DatabaseJournal.com Staff

by MAK [Muthusamy Anantha Kumar]

Process involved in SQL Server 2000

SQL Server 2000 recognizes and acknowledges the change in the server name automatically. There are still some simple tweaks involved.



Step 1 Update Client network utility

Step 2 Register the new server name

Delete the old server registration and register the new server name.

Step 3 Update sysservers

use master
go
Use master
go
sp_configure 'allow updates',1
go
reconfigure with override
go
update sysservers set srvname = 'changeserver' where srvname ='oldservername'
go
sp_configure 'allow updates',0
go
reconfigure with override
go

Step 4 Update sysservers

Use master
go
sp_configure 'allow updates',1
go
reconfigure with override
go
use msdb
go
update sysjobs set originating_server ="oldservername" 
go
sp_configure 'allow updates',0
go
reconfigure with override
go

Step 5: update clients and other servers

Update all of the clients (Follow step1) to point to the new server and any linked server you have updated with the new name. Make sure any user DLLs and web servers pointing to the server name point to the new server name.

Conclusion: Though change in the server name is simple and easy, it has complicated effects on the dependant applications, services and components. This article gives a detailed insight of updating SQL server to handle the change in the server name.



MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 




Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Error using SQL Server credentials poverty 3 August 17th, 07:43 AM
Need help changing table contents nkawtg 1 August 17th, 03:02 AM
SQL Server Memory confifuration bhosalenarayan 2 August 14th, 05:33 AM
SQL Server Primary Key and a Unique Key katty.jonh 2 July 25th, 10:36 AM