<?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: Rename Column</title>
	<atom:link href="http://sqlserverplanet.com/ddl/rename-column/feed" rel="self" type="application/rss+xml" />
	<link>http://sqlserverplanet.com/ddl/rename-column</link>
	<description>Tips and Articles on SQL Server</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:36:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Don Schaeffer</title>
		<link>http://sqlserverplanet.com/ddl/rename-column/comment-page-1#comment-330</link>
		<dc:creator>Don Schaeffer</dc:creator>
		<pubDate>Thu, 11 Nov 2010 14:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=568#comment-330</guid>
		<description>I have been able to rename columns regardless of their membership in primary or foreign keys without issue.  However, I received the message &quot;cannot be renamed because the object participates in enforced dependencies&quot; for a column that had a check constraint.</description>
		<content:encoded><![CDATA[<p>I have been able to rename columns regardless of their membership in primary or foreign keys without issue.  However, I received the message &#8220;cannot be renamed because the object participates in enforced dependencies&#8221; for a column that had a check constraint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Dieter</title>
		<link>http://sqlserverplanet.com/ddl/rename-column/comment-page-1#comment-220</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Wed, 11 Aug 2010 04:13:34 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=568#comment-220</guid>
		<description>Hi Kashyap,

With SQL Server, the only way to change the column name is to use sp_rename.  This can be verified by doing a trace when changing a column name using SSMS.

Derek</description>
		<content:encoded><![CDATA[<p>Hi Kashyap,</p>
<p>With SQL Server, the only way to change the column name is to use sp_rename.  This can be verified by doing a trace when changing a column name using SSMS.</p>
<p>Derek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kashyap</title>
		<link>http://sqlserverplanet.com/ddl/rename-column/comment-page-1#comment-219</link>
		<dc:creator>Kashyap</dc:creator>
		<pubDate>Tue, 10 Aug 2010 07:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=568#comment-219</guid>
		<description>hai
is there any other process to change the name of the column by using alter or update i know the process of sp_rename i want to know the code using alter and update</description>
		<content:encoded><![CDATA[<p>hai<br />
is there any other process to change the name of the column by using alter or update i know the process of sp_rename i want to know the code using alter and update</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Dieter</title>
		<link>http://sqlserverplanet.com/ddl/rename-column/comment-page-1#comment-95</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Mon, 10 May 2010 22:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=568#comment-95</guid>
		<description>Hi, you have to use sp_rename:

EXEC sp_rename &#039;dbo.OldTableName&#039;, &#039;NewTableName&#039;

Realize however that any object that reference this table will no longer work. (i.e. stored procedures, views).</description>
		<content:encoded><![CDATA[<p>Hi, you have to use sp_rename:</p>
<p>EXEC sp_rename &#8216;dbo.OldTableName&#8217;, &#8216;NewTableName&#8217;</p>
<p>Realize however that any object that reference this table will no longer work. (i.e. stored procedures, views).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subbu</title>
		<link>http://sqlserverplanet.com/ddl/rename-column/comment-page-1#comment-94</link>
		<dc:creator>subbu</dc:creator>
		<pubDate>Mon, 10 May 2010 05:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=568#comment-94</guid>
		<description>how to rename a table in sql?</description>
		<content:encoded><![CDATA[<p>how to rename a table in sql?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

