<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; 2005 &#8211; Use ALTER DATABASE MODIFY NAME Instead of sp_renameDB to rename</title>
	<atom:link href="http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/</link>
	<description>Notes of a SQL Server MVP and Database Administrator</description>
	<lastBuildDate>Sat, 21 Nov 2009 05:54:09 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve Nelson</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-57604</link>
		<dc:creator>Steve Nelson</dc:creator>
		<pubDate>Fri, 13 Nov 2009 18:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-57604</guid>
		<description>Neither method works for me.  I&#039;ve dug though loads of documentation trying to find the answer and nothing works.  MS products are garbage.</description>
		<content:encoded><![CDATA[<p>Neither method works for me.  I&#8217;ve dug though loads of documentation trying to find the answer and nothing works.  MS products are garbage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murugesan</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-57535</link>
		<dc:creator>Murugesan</dc:creator>
		<pubDate>Thu, 12 Nov 2009 04:37:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-57535</guid>
		<description>Thanks for info, its working fine for me.</description>
		<content:encoded><![CDATA[<p>Thanks for info, its working fine for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-56433</link>
		<dc:creator>Mahesh</dc:creator>
		<pubDate>Mon, 05 Oct 2009 11:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-56433</guid>
		<description>Thanks, Done</description>
		<content:encoded><![CDATA[<p>Thanks, Done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bunthach</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-55757</link>
		<dc:creator>Bunthach</dc:creator>
		<pubDate>Thu, 10 Sep 2009 01:41:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-55757</guid>
		<description>I have problem ALTER DATABASE
ALTER Database PersonnelMS SET Partner=&#039;TCP://192.168.0.4:5022&#039;

It shows message 
Msg 1486, Level 14, State 2, Line 2
Database Mirroring Transport is disabled in the endpoint configuration.</description>
		<content:encoded><![CDATA[<p>I have problem ALTER DATABASE<br />
ALTER Database PersonnelMS SET Partner=&#8217;TCP://192.168.0.4:5022&#8242;</p>
<p>It shows message<br />
Msg 1486, Level 14, State 2, Line 2<br />
Database Mirroring Transport is disabled in the endpoint configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imran Mohammed</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-47728</link>
		<dc:creator>Imran Mohammed</dc:creator>
		<pubDate>Sun, 01 Mar 2009 04:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-47728</guid>
		<description>@Wendy,

If you want to change database name, then no user should be connected  to database.

First keep the database in single user mode and then change the database name or disconnect all users from that database and then you should be able to rename database.

Regards
IM.</description>
		<content:encoded><![CDATA[<p>@Wendy,</p>
<p>If you want to change database name, then no user should be connected  to database.</p>
<p>First keep the database in single user mode and then change the database name or disconnect all users from that database and then you should be able to rename database.</p>
<p>Regards<br />
IM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wendy</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-47584</link>
		<dc:creator>Wendy</dc:creator>
		<pubDate>Fri, 27 Feb 2009 14:21:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-47584</guid>
		<description>I am getting the same error as Eric: 
Msg 5030, Level 16, State 2, Line 1
The database could not be exclusively locked to perform the operation.

How was this resolved?
Thanks in advance!</description>
		<content:encoded><![CDATA[<p>I am getting the same error as Eric:<br />
Msg 5030, Level 16, State 2, Line 1<br />
The database could not be exclusively locked to perform the operation.</p>
<p>How was this resolved?<br />
Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shabana</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-43888</link>
		<dc:creator>Shabana</dc:creator>
		<pubDate>Fri, 24 Oct 2008 06:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-43888</guid>
		<description>Thank you so much Rich !!!! your seven stpes help me a great deal...</description>
		<content:encoded><![CDATA[<p>Thank you so much Rich !!!! your seven stpes help me a great deal&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guru</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-42042</link>
		<dc:creator>Guru</dc:creator>
		<pubDate>Tue, 26 Aug 2008 06:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-42042</guid>
		<description>Hi Sir

I was able to rename the database..but the logical name of the database didnot get renamed..is there any query to rename the database&#039;s logical name as well</description>
		<content:encoded><![CDATA[<p>Hi Sir</p>
<p>I was able to rename the database..but the logical name of the database didnot get renamed..is there any query to rename the database&#8217;s logical name as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-41186</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Fri, 01 Aug 2008 15:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-41186</guid>
		<description>when i am try to rename database it shows me following error msg
Msg 5030, Level 16, State 2, Line 1
The database could not be exclusively locked to perform the operation.

how do i resolve this problem?</description>
		<content:encoded><![CDATA[<p>when i am try to rename database it shows me following error msg<br />
Msg 5030, Level 16, State 2, Line 1<br />
The database could not be exclusively locked to perform the operation.</p>
<p>how do i resolve this problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pedro</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-38164</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Fri, 16 May 2008 02:48:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-38164</guid>
		<description>How about the physical name? How do you rename it?</description>
		<content:encoded><![CDATA[<p>How about the physical name? How do you rename it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-34479</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Fri, 21 Mar 2008 02:03:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-34479</guid>
		<description>I renamed some databases since we need to standardize the naming convention.  Unfortunately, it broke the SSIS package that used to be working.  Somehow, it does not want to save the password even going directly to the configuration file.  Any suggestion?</description>
		<content:encoded><![CDATA[<p>I renamed some databases since we need to standardize the naming convention.  Unfortunately, it broke the SSIS package that used to be working.  Somehow, it does not want to save the password even going directly to the configuration file.  Any suggestion?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ramu</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-33179</link>
		<dc:creator>ramu</dc:creator>
		<pubDate>Tue, 22 Jan 2008 06:18:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-33179</guid>
		<description>how to add contraint in alter query</description>
		<content:encoded><![CDATA[<p>how to add contraint in alter query</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anjum</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-5430</link>
		<dc:creator>Anjum</dc:creator>
		<pubDate>Wed, 18 Jul 2007 20:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-5430</guid>
		<description>most of the time when i need any help i got here everything
and it is not good for me besides it is beneficial for all the DBA community.
you did great job.........</description>
		<content:encoded><![CDATA[<p>most of the time when i need any help i got here everything<br />
and it is not good for me besides it is beneficial for all the DBA community.<br />
you did great job&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-4830</link>
		<dc:creator>pinaldave</dc:creator>
		<pubDate>Fri, 13 Jul 2007 15:34:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-4830</guid>
		<description>Chris L,

I have updated my post based on your question. 
Thanks for suggestion.

Regards,
Pinal Dave (SQLAuthority.com)</description>
		<content:encoded><![CDATA[<p>Chris L,</p>
<p>I have updated my post based on your question.<br />
Thanks for suggestion.</p>
<p>Regards,<br />
Pinal Dave (SQLAuthority.com)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-4828</link>
		<dc:creator>pinaldave</dc:creator>
		<pubDate>Fri, 13 Jul 2007 15:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-4828</guid>
		<description>Yes this will drop it.

This is sample example. Not the real time scenario. In real world, you do not need to drop the new database.

Regards,
Pinal Dave (http://www.SQLAuthority.com)</description>
		<content:encoded><![CDATA[<p>Yes this will drop it.</p>
<p>This is sample example. Not the real time scenario. In real world, you do not need to drop the new database.</p>
<p>Regards,<br />
Pinal Dave (<a href="http://www.SQLAuthority.com" rel="nofollow">http://www.SQLAuthority.com</a>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris L</title>
		<link>http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-4827</link>
		<dc:creator>Chris L</dc:creator>
		<pubDate>Fri, 13 Jul 2007 15:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/07/13/sql-server-2005-use-alter-database-modify-name-instead-of-sp_renamedb-to-rename/#comment-4827</guid>
		<description>So, if you rename the old database with the new name and call drop on the test database, won&#039;t that drop the old DB with the new name?</description>
		<content:encoded><![CDATA[<p>So, if you rename the old database with the new name and call drop on the test database, won&#8217;t that drop the old DB with the new name?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
