<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Renaming a SQL Server Instance</title>
	<atom:link href="http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/</link>
	<description>Experiences of a UK BizTalk Consultant</description>
	<lastBuildDate>Wed, 01 Feb 2012 18:36:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Rafeek</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-2101</link>
		<dc:creator>Rafeek</dc:creator>
		<pubDate>Thu, 26 Jan 2012 03:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-2101</guid>
		<description>I have changed the instance name (ex: from servername\A to servername\B) using above script and restart machine. While execute &quot;select @@servername&quot;, display new instance name. but while connect using new name it&#039;s not connected (SSMS--&gt; Connec --&gt; Servername\B).. Pls help me how to resolve this...</description>
		<content:encoded><![CDATA[<p>I have changed the instance name (ex: from servername\A to servername\B) using above script and restart machine. While execute &#8220;select @@servername&#8221;, display new instance name. but while connect using new name it&#8217;s not connected (SSMS&#8211;&gt; Connec &#8211;&gt; Servername\B).. Pls help me how to resolve this&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve baker</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-2075</link>
		<dc:creator>steve baker</dc:creator>
		<pubDate>Wed, 09 Nov 2011 19:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-2075</guid>
		<description>use master
exec sp_dropserver @@SERVERNAME,&#039;droplogins&#039;
exec sp_addserver &#039;NEW_MACH_NAME&#039;,&#039;local&#039;

If you use distribution execute this command as well.

use msdb
update sysjobs set originating_server =&#039;NEW_MACH_NAME&#039;

Restart SQL Services.</description>
		<content:encoded><![CDATA[<p>use master<br />
exec sp_dropserver @@SERVERNAME,&#8217;droplogins&#8217;<br />
exec sp_addserver &#8216;NEW_MACH_NAME&#8217;,'local&#8217;</p>
<p>If you use distribution execute this command as well.</p>
<p>use msdb<br />
update sysjobs set originating_server =&#8217;NEW_MACH_NAME&#8217;</p>
<p>Restart SQL Services.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eng. Muhammad Imran</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-2056</link>
		<dc:creator>Eng. Muhammad Imran</dc:creator>
		<pubDate>Wed, 20 Jul 2011 12:13:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-2056</guid>
		<description>Dears,
I tested above mentioned procedure to rename the SQL Server 2008 instance and it really works. You have to adopt the following instructions sequentially.
&gt;&gt; Rename Machine&#039;s name (Your PC/Server Name)
&gt;&gt; Execute the following commands in SQL query window:

-- Get the current name of the SQL Server instance for later comparison.
 SELECT @@servername
 
--Remove server from the list of known remote and linked servers on the local instance of SQL Server.
EXEC master.dbo.sp_dropserver &#039;[SQL SERVER NAME]&#039;
 
 --Define the name of the local instance of SQL Server.

EXEC master.dbo.sp_addserver &#039;[NEW SERVER NAME]&#039;, &#039;local&#039;
 
-- Get the new name of the SQL Server instance for comparison.
SELECT @@servername

Note: Be executing these commands, you will see new Server name but actually job is not done completly.

&gt;&gt; Restart the System or all SQL related services.

&gt;&gt; Now connect with SQL Server using old SQL Instance and credentials. It will work else use some other instance like &#039;local&#039; etc.

&gt;&gt; Go to Security -&gt; Logins, create new login with new Machine name. For example: [NEW MACHINE NAME]/[LOGIN NAME] =&gt; WIN-SERVER/Administrator.

&gt;&gt; After creating login, delete the existing (older) login and try to connect with new login name.... It must work!!!

Be happy.</description>
		<content:encoded><![CDATA[<p>Dears,<br />
I tested above mentioned procedure to rename the SQL Server 2008 instance and it really works. You have to adopt the following instructions sequentially.<br />
&gt;&gt; Rename Machine&#8217;s name (Your PC/Server Name)<br />
&gt;&gt; Execute the following commands in SQL query window:</p>
<p>&#8211; Get the current name of the SQL Server instance for later comparison.<br />
 SELECT @@servername</p>
<p>&#8211;Remove server from the list of known remote and linked servers on the local instance of SQL Server.<br />
EXEC master.dbo.sp_dropserver &#8216;[SQL SERVER NAME]&#8216;</p>
<p> &#8211;Define the name of the local instance of SQL Server.</p>
<p>EXEC master.dbo.sp_addserver &#8216;[NEW SERVER NAME]&#8216;, &#8216;local&#8217;</p>
<p>&#8211; Get the new name of the SQL Server instance for comparison.<br />
SELECT @@servername</p>
<p>Note: Be executing these commands, you will see new Server name but actually job is not done completly.</p>
<p>&gt;&gt; Restart the System or all SQL related services.</p>
<p>&gt;&gt; Now connect with SQL Server using old SQL Instance and credentials. It will work else use some other instance like &#8216;local&#8217; etc.</p>
<p>&gt;&gt; Go to Security -&gt; Logins, create new login with new Machine name. For example: [NEW MACHINE NAME]/[LOGIN NAME] =&gt; WIN-SERVER/Administrator.</p>
<p>&gt;&gt; After creating login, delete the existing (older) login and try to connect with new login name&#8230;. It must work!!!</p>
<p>Be happy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-2052</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 12 Jul 2011 14:44:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-2052</guid>
		<description>This did not work, it was easier just to install an other instance.  This changed the name of the instance in the master DB, but the name must be in other places as well.</description>
		<content:encoded><![CDATA[<p>This did not work, it was easier just to install an other instance.  This changed the name of the instance in the master DB, but the name must be in other places as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naresh</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-1637</link>
		<dc:creator>Naresh</dc:creator>
		<pubDate>Wed, 06 Apr 2011 05:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-1637</guid>
		<description>@Nick Heppleston&#039; article. The question is how do we make use of the server name thats shown in &quot;SELECT @@servername&quot;, kinda, if I want to connect to the sever using that new name, how do I connect?</description>
		<content:encoded><![CDATA[<p>@Nick Heppleston&#8217; article. The question is how do we make use of the server name thats shown in &#8220;SELECT @@servername&#8221;, kinda, if I want to connect to the sever using that new name, how do I connect?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: José Martins</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-1636</link>
		<dc:creator>José Martins</dc:creator>
		<pubDate>Fri, 01 Apr 2011 10:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-1636</guid>
		<description>I have a doubt. I´m using SQL Server 2008 and i want to change a table name from Reveita to Receita.

How can I do that?

Thanks</description>
		<content:encoded><![CDATA[<p>I have a doubt. I´m using SQL Server 2008 and i want to change a table name from Reveita to Receita.</p>
<p>How can I do that?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lionking</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-1603</link>
		<dc:creator>Lionking</dc:creator>
		<pubDate>Thu, 09 Dec 2010 07:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-1603</guid>
		<description>I agree , if you run &quot;select @@servername&quot;  the new name is displayed. However if you want to register the new instance, only the old name is displayed . Even a reboot after the name change does not help .</description>
		<content:encoded><![CDATA[<p>I agree , if you run &#8220;select @@servername&#8221;  the new name is displayed. However if you want to register the new instance, only the old name is displayed . Even a reboot after the name change does not help .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kratos</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-1297</link>
		<dc:creator>Kratos</dc:creator>
		<pubDate>Wed, 14 Apr 2010 07:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-1297</guid>
		<description>LOL @mozkill what a shoot down and yes i concur.</description>
		<content:encoded><![CDATA[<p>LOL @mozkill what a shoot down and yes i concur.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mozkill</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-1092</link>
		<dc:creator>mozkill</dc:creator>
		<pubDate>Sat, 02 Jan 2010 17:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-1092</guid>
		<description>i wouldn&#039;t recommend following this blog article.  the blog article fails to update the sql instance directory name (as well as the references inside each database to that directory).</description>
		<content:encoded><![CDATA[<p>i wouldn&#8217;t recommend following this blog article.  the blog article fails to update the sql instance directory name (as well as the references inside each database to that directory).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/comment-page-1/#comment-1034</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Mon, 21 Dec 2009 00:31:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.modhul.com/2008/01/15/renaming-a-sql-server-instance/#comment-1034</guid>
		<description>Same problem for me... I follow the instructions and in SS Configuration Manager the old name still appears. You migt as well remove this post from the Internet since it doesn&#039;t work.</description>
		<content:encoded><![CDATA[<p>Same problem for me&#8230; I follow the instructions and in SS Configuration Manager the old name still appears. You migt as well remove this post from the Internet since it doesn&#8217;t work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

