<?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; Renaming SP is Not Good Idea &#8211; Renaming Stored Procedure Does Not Update sys.procedures</title>
	<atom:link href="http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Fri, 17 May 2013 15:26:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Puneet</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-417489</link>
		<dc:creator><![CDATA[Puneet]]></dc:creator>
		<pubDate>Mon, 04 Feb 2013 05:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-417489</guid>
		<description><![CDATA[Thanks a lot for this wonderful information, sometimes we take it so casually to rename a store procedure.]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot for this wonderful information, sometimes we take it so casually to rename a store procedure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shivanand Arur</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-391202</link>
		<dc:creator><![CDATA[Shivanand Arur]]></dc:creator>
		<pubDate>Tue, 11 Dec 2012 10:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-391202</guid>
		<description><![CDATA[This is really helpful... Thank u Pinal Sir. Cheers!!! :)]]></description>
		<content:encoded><![CDATA[<p>This is really helpful&#8230; Thank u Pinal Sir. Cheers!!! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vikas singh</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-364185</link>
		<dc:creator><![CDATA[vikas singh]]></dc:creator>
		<pubDate>Thu, 25 Oct 2012 09:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-364185</guid>
		<description><![CDATA[I  think that name updated with respect to object id in SYS.procedures but for that same id text did not updated in syscomments table.]]></description>
		<content:encoded><![CDATA[<p>I  think that name updated with respect to object id in SYS.procedures but for that same id text did not updated in syscomments table.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Agger</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-325976</link>
		<dc:creator><![CDATA[Daniel Agger]]></dc:creator>
		<pubDate>Mon, 06 Aug 2012 14:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-325976</guid>
		<description><![CDATA[What is the drawback or issue if the name is not updated in sys.procedures?]]></description>
		<content:encoded><![CDATA[<p>What is the drawback or issue if the name is not updated in sys.procedures?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sangeeth</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-274721</link>
		<dc:creator><![CDATA[sangeeth]]></dc:creator>
		<pubDate>Tue, 10 Apr 2012 13:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-274721</guid>
		<description><![CDATA[hi sir 
    i think  when we rename a stored procedure it is updated in sys.procedure. but it is not updated in syscomments..]]></description>
		<content:encoded><![CDATA[<p>hi sir<br />
    i think  when we rename a stored procedure it is updated in sys.procedure. but it is not updated in syscomments..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-259857</link>
		<dc:creator><![CDATA[Brent]]></dc:creator>
		<pubDate>Mon, 05 Mar 2012 22:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-259857</guid>
		<description><![CDATA[Thanks for the information, very useful. Wouldn&#039;t of thought of this.]]></description>
		<content:encoded><![CDATA[<p>Thanks for the information, very useful. Wouldn&#8217;t of thought of this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashish</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-198292</link>
		<dc:creator><![CDATA[ashish]]></dc:creator>
		<pubDate>Fri, 18 Nov 2011 05:36:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-198292</guid>
		<description><![CDATA[Hello Abhishek. 
I perform the same as you mentioned above, I found the procedure name is updated in sys.procedures.]]></description>
		<content:encoded><![CDATA[<p>Hello Abhishek.<br />
I perform the same as you mentioned above, I found the procedure name is updated in sys.procedures.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-158237</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 17 Aug 2011 08:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-158237</guid>
		<description><![CDATA[You can make use of ALTER procedure command

ALTER procedure  sp_jagdish
as
your select statement here]]></description>
		<content:encoded><![CDATA[<p>You can make use of ALTER procedure command</p>
<p>ALTER procedure  sp_jagdish<br />
as<br />
your select statement here</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pgmer</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-134565</link>
		<dc:creator><![CDATA[Pgmer]]></dc:creator>
		<pubDate>Mon, 16 May 2011 07:35:02 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-134565</guid>
		<description><![CDATA[Hi Pinal,

Nice and usefull artical. I have experianced this problem now. As you and jacob mentioned, its better to drop the object and recreate it.]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>Nice and usefull artical. I have experianced this problem now. As you and jacob mentioned, its better to drop the object and recreate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jagdish</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-128630</link>
		<dc:creator><![CDATA[jagdish]]></dc:creator>
		<pubDate>Wed, 13 Apr 2011 07:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-128630</guid>
		<description><![CDATA[helo sir,
i was reading ur suggestion and try to solve my problems...
after creating the stored procedure ,if i want to delete that procedure so what can i do for that?

like--  
create procedure sp_jagdish
as
select * from jagdish


using this procedure i want rename the one of column name, so how could i do this? If i want to delete this procedure so how could i do this? pls tell me the answer.]]></description>
		<content:encoded><![CDATA[<p>helo sir,<br />
i was reading ur suggestion and try to solve my problems&#8230;<br />
after creating the stored procedure ,if i want to delete that procedure so what can i do for that?</p>
<p>like&#8211;<br />
create procedure sp_jagdish<br />
as<br />
select * from jagdish</p>
<p>using this procedure i want rename the one of column name, so how could i do this? If i want to delete this procedure so how could i do this? pls tell me the answer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alireza Haghshenas</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-45515</link>
		<dc:creator><![CDATA[Alireza Haghshenas]]></dc:creator>
		<pubDate>Sat, 10 Jan 2009 10:51:58 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-45515</guid>
		<description><![CDATA[Hi.

I open the procedure in Visual studio, and see the old name after the &quot;Alter procedure&quot; as you said. It&#039;s not unexpected that saving this procedure fails. My solution was to change the name that comes after the &quot;Alter procedure&quot; to the new one and everything is fine ever since.

thanks,
Alireza]]></description>
		<content:encoded><![CDATA[<p>Hi.</p>
<p>I open the procedure in Visual studio, and see the old name after the &#8220;Alter procedure&#8221; as you said. It&#8217;s not unexpected that saving this procedure fails. My solution was to change the name that comes after the &#8220;Alter procedure&#8221; to the new one and everything is fine ever since.</p>
<p>thanks,<br />
Alireza</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek Sahay</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-44199</link>
		<dc:creator><![CDATA[Abhishek Sahay]]></dc:creator>
		<pubDate>Thu, 13 Nov 2008 09:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-44199</guid>
		<description><![CDATA[Hi Pinal,

I read the article and tried to follow the same.
Though after executing sp_helptext, I saw that the name is not changed, but when i see in the sys.procedures, i found that the name of the procedure is changed i.e the sys.procedures system table do get updated.
Pls check and clarify if I am going wrong.

Thanks in advance.
Abhishek]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>I read the article and tried to follow the same.<br />
Though after executing sp_helptext, I saw that the name is not changed, but when i see in the sys.procedures, i found that the name of the procedure is changed i.e the sys.procedures system table do get updated.<br />
Pls check and clarify if I am going wrong.</p>
<p>Thanks in advance.<br />
Abhishek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinaldave</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-43331</link>
		<dc:creator><![CDATA[pinaldave]]></dc:creator>
		<pubDate>Sun, 28 Sep 2008 08:31:35 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-43331</guid>
		<description><![CDATA[I request all the readers of my article to read the article posted by Jacob here. It explains in depth the why this happens and how to avoid it.

http://jacobsebastian.blogspot.com/2008/09/be-careful-when-renaming.html

Summary of the article must be memorized by any developer.

Regards,
Pinal]]></description>
		<content:encoded><![CDATA[<p>I request all the readers of my article to read the article posted by Jacob here. It explains in depth the why this happens and how to avoid it.</p>
<p><a href="http://jacobsebastian.blogspot.com/2008/09/be-careful-when-renaming.html" rel="nofollow">http://jacobsebastian.blogspot.com/2008/09/be-careful-when-renaming.html</a></p>
<p>Summary of the article must be memorized by any developer.</p>
<p>Regards,<br />
Pinal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob sebastian</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-43330</link>
		<dc:creator><![CDATA[Jacob sebastian]]></dc:creator>
		<pubDate>Sun, 28 Sep 2008 07:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-43330</guid>
		<description><![CDATA[Thanks Pinal for initiating this discussion. I found this bit interesting and investigated it further. I was curious how SSMS manages this, because when you generate the ALTER/CREATE script from SSMS it generates the correct object name. 

I have posted my findings here: http://jacobsebastian.blogspot.com/2008/09/be-careful-when-renaming.html]]></description>
		<content:encoded><![CDATA[<p>Thanks Pinal for initiating this discussion. I found this bit interesting and investigated it further. I was curious how SSMS manages this, because when you generate the ALTER/CREATE script from SSMS it generates the correct object name. </p>
<p>I have posted my findings here: <a href="http://jacobsebastian.blogspot.com/2008/09/be-careful-when-renaming.html" rel="nofollow">http://jacobsebastian.blogspot.com/2008/09/be-careful-when-renaming.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob sebastian</title>
		<link>http://blog.sqlauthority.com/2008/09/28/sql-server-renaming-stored-procedure-does-not-update-sysprocedures/#comment-43327</link>
		<dc:creator><![CDATA[Jacob sebastian]]></dc:creator>
		<pubDate>Sun, 28 Sep 2008 04:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=1195#comment-43327</guid>
		<description><![CDATA[Nice post, Pinal. I know many people just rename stored procedures, functions, views etc right from the Management Studio and land up with this problem.

Just wanted to add that this problem exists with Views, Triggers and Functions too. http://msdn.microsoft.com/en-us/library/ms188351(SQL.90).aspx]]></description>
		<content:encoded><![CDATA[<p>Nice post, Pinal. I know many people just rename stored procedures, functions, views etc right from the Management Studio and land up with this problem.</p>
<p>Just wanted to add that this problem exists with Views, Triggers and Functions too. <a href="http://msdn.microsoft.com/en-us/library/ms188351(SQL.90)" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms188351(SQL.90)</a>.aspx</p>
]]></content:encoded>
	</item>
</channel>
</rss>
