Solved

rename SQL instance ?

Posted on 2014-01-28
6
381 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 77

Accepted Solution

by:
arnold earned 375 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 77

Assisted Solution

by:arnold
arnold earned 375 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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 77

Assisted Solution

by:arnold
arnold earned 375 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 125 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delete Trigger in SQL Server2008R2 5 20
Filtered index 5 56
Benefits of SMB Fileshare 3 63
How to pass 2 IN parameters to a stored procedure using SQL Server 2008? 6 29
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now