Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

rename SQL instance ?

Posted on 2014-01-28
6
Medium Priority
?
393 Views
Last Modified: 2014-02-03
can you ( and how do you ) rename a SQL 2008 instance name ?
0
Comment
Question by:NAMEWITHELD12
  • 3
  • 2
6 Comments
 
LVL 80

Accepted Solution

by:
arnold earned 1500 total points
ID: 39816718
Sp_dropserver current_servername
Sp_addserver newservername

This deals with a name change of the sever following a name change.

Instance changes, you mean you want to change server\instance1 to server\instance2?
0
 
LVL 1

Author Comment

by:NAMEWITHELD12
ID: 39816741
yeah , is there any way to do it in the GUI, I am trying to walk someone thru it over the phone

it will not effect any DBs ?

thanks!
0
 
LVL 80

Assisted Solution

by:arnold
arnold earned 1500 total points
ID: 39816768
No, it is a TSQL. A non destructive process only taking effect after the sql service restarts.

Is this a clustered instance?

If I might, what is the reason for the change?
What is the expectation after the change?
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
LVL 1

Author Comment

by:NAMEWITHELD12
ID: 39817425
the reason is that I made a mistake on the naming of the instance ,


not clustered

I expect the DBs on the instance not to be affected in any way

thanks
0
 
LVL 80

Assisted Solution

by:arnold
arnold earned 1500 total points
ID: 39817500
The example changes the name of the server, do not think you can change the second component.

Your best bet is to rerun the installer and add a new instance, then backup/restore the DBs

You have server\instanse and now you want to correct server\instance

This type of change can be done but is risky, deals with going through the registry .......
0
 
LVL 35

Assisted Solution

by:David Todd
David Todd earned 500 total points
ID: 39819429
Hi,

If a new install then I suggest an uninstall/reinstall.

That way you wont be left wondering down the track if your registry hack has missed something.

I strongly recommend that you test any suggestions before applying to production. If you correction goes wrong you could be left with a horrible mess.

HTH
  David
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question