SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Rename instance name in SQL 2005
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gangadhara.ms
Constraint Violating Yak Guru

India
497 Posts

Posted - 07/15/2010 :  05:26:22  Show Profile  Visit gangadhara.ms's Homepage  Reply with Quote
Dear All,

How can rename the instance name in SQL server 2005/2008 ?

Thanks,
Gangadhar

pk_bohra
Flowing Fount of Yak Knowledge

India
1182 Posts

Posted - 07/15/2010 :  07:10:54  Show Profile  Reply with Quote
Hi Gangadhara,

Generally it is not recommended to rename the instance.But still for some reason you want to do it, have a look at the following link:


http://www.sqlnewsgroups.net/group/microsoft.public.sqlserver.server/topic15810.aspx


Regards,
Bohra

I am here to learn from Masters and help new bees in learning.
Go to Top of Page

Bea
Starting Member

7 Posts

Posted - 07/18/2010 :  03:29:23  Show Profile  Reply with Quote
Hello

When you install SQL Server 2005, you have an option to make a named instance or keep it as a default instance. You need to uninstall SQL Server 2005 and then reinstall SQL Server 2005, keep an eye out for the option and type in the name you wish to use.

Bea
Go to Top of Page

dinakar
Flowing Fount of Yak Knowledge

USA
2507 Posts

Posted - 07/19/2010 :  16:08:31  Show Profile  Visit dinakar's Homepage  Reply with Quote
quote:
Originally posted by Bea

Hello

When you install SQL Server 2005, you have an option to make a named instance or keep it as a default instance. You need to uninstall SQL Server 2005 and then reinstall SQL Server 2005, keep an eye out for the option and type in the name you wish to use.

Bea


Thats incorrect advice.
You can rename your instance with sp_dropserver and sp_Addserver. http://msdn.microsoft.com/en-us/library/ms143799.aspx


Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page

tdrudge
Starting Member

USA
1 Posts

Posted - 04/11/2012 :  00:34:17  Show Profile  Reply with Quote
quote:
Originally posted by dinakar

quote:
Originally posted by Bea

Hello

When you install SQL Server 2005, you have an option to make a named instance or keep it as a default instance. You need to uninstall SQL Server 2005 and then reinstall SQL Server 2005, keep an eye out for the option and type in the name you wish to use.

Bea


Thats incorrect advice.
You can rename your instance with sp_dropserver and sp_Addserver. http://msdn.microsoft.com/en-us/library/ms143799.aspx


Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/



To my knowledge (after digging through a lot of different threads) there is still no way to rename the actual instance name. You can rename the server, however not the instance name.

I would be curious to find out if anybody has attempted to hack renaming the instance name.

If anybody has a method of renaming the sql instance, PLEASE LET ME KNOW!!!!

Thomas Drudge
Sr. DBA
The Active Network, Inc.
Go to Top of Page

dinakar
Flowing Fount of Yak Knowledge

USA
2507 Posts

Posted - 04/26/2012 :  19:06:04  Show Profile  Visit dinakar's Homepage  Reply with Quote
Well that was something I learnt later as well.. :)
you cannot rename a named instance.. If you had a named instance say NAMED1 on computer say C1 and changed computer name to C2, the new server name would be C2\NAMED1.

Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/
Go to Top of Page

ovc
Starting Member

Romania
30 Posts

Posted - 05/20/2012 :  11:30:59  Show Profile  Reply with Quote
You cannot rename a named instance. You have to reinstall the instance or as a workaround create an alisa in the SQL Server configuration manager.

Which is the reason to rename a sql server instance?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000