How to change SQL Server Instance Name


How to change SQL Server Instance Name ?

First collect the output of the current instance configuration

sp_helpserver
select @@servername
Execute the below query to change the instance name

sp_dropserver ‘old_name’
go
sp_addserver ‘new_name’,‘local’
go

Verify sql server instance configuration by running below queries

sp_helpserver
select @@servername

Let me know if you have any further question. Khan sqldba – MCTS.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s