<?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: SQLAuthority News &#8211; Follow up on &#8211; Replace a Column Name in Multiple Stored Procedure all together</title>
	<atom:link href="http://blog.sqlauthority.com/2012/10/01/sqlauthority-news-follow-up-on-replace-a-column-name-in-multiple-stored-procedure-all-together/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2012/10/01/sqlauthority-news-follow-up-on-replace-a-column-name-in-multiple-stored-procedure-all-together/</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: eDronen</title>
		<link>http://blog.sqlauthority.com/2012/10/01/sqlauthority-news-follow-up-on-replace-a-column-name-in-multiple-stored-procedure-all-together/#comment-407714</link>
		<dc:creator><![CDATA[eDronen]]></dc:creator>
		<pubDate>Mon, 14 Jan 2013 20:08:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20967#comment-407714</guid>
		<description><![CDATA[Hi PinalDave - 

In your previous post the &quot;Alter to&quot; is not available in the picture. Do you know why this is grayed out, or not available as an option? 

I thought it was permissions, but gave myself db_owner of the database and the resulting menu still appears the same. 

Any ideas how to script the objects as &quot;Alter to&quot;? 

Any feedback is much appreciated. 

Thank you, 
Eric]]></description>
		<content:encoded><![CDATA[<p>Hi PinalDave &#8211; </p>
<p>In your previous post the &#8220;Alter to&#8221; is not available in the picture. Do you know why this is grayed out, or not available as an option? </p>
<p>I thought it was permissions, but gave myself db_owner of the database and the resulting menu still appears the same. </p>
<p>Any ideas how to script the objects as &#8220;Alter to&#8221;? </p>
<p>Any feedback is much appreciated. </p>
<p>Thank you,<br />
Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hardik Turakhia</title>
		<link>http://blog.sqlauthority.com/2012/10/01/sqlauthority-news-follow-up-on-replace-a-column-name-in-multiple-stored-procedure-all-together/#comment-361878</link>
		<dc:creator><![CDATA[Hardik Turakhia]]></dc:creator>
		<pubDate>Fri, 19 Oct 2012 06:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20967#comment-361878</guid>
		<description><![CDATA[I need to search all content of my database object(only SPs) but the challenge is i have to ignore the commented part??
The same thing i have to do for almost 60 DBs and each DB approx contain at least 300 SPs.
Any good way to do this??]]></description>
		<content:encoded><![CDATA[<p>I need to search all content of my database object(only SPs) but the challenge is i have to ignore the commented part??<br />
The same thing i have to do for almost 60 DBs and each DB approx contain at least 300 SPs.<br />
Any good way to do this??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: visakh murukesan</title>
		<link>http://blog.sqlauthority.com/2012/10/01/sqlauthority-news-follow-up-on-replace-a-column-name-in-multiple-stored-procedure-all-together/#comment-354970</link>
		<dc:creator><![CDATA[visakh murukesan]]></dc:creator>
		<pubDate>Mon, 01 Oct 2012 18:16:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/?p=20967#comment-354970</guid>
		<description><![CDATA[This has a limitation. It wont return any dependency where object has been used inside a dynamic sql string

see this small example

CREATE PROCEDURE proctest1
AS

EXEC(&#039;SELECT  * FROM YourTable&#039;)
GO

CREATE PROCEDURE proctest1
AS

SELECT  * FROM YourTable
GO

--finding dependency using two conventional methods
sp_depends &#039;YourTable&#039;


SELECT &#039;EXEC sp_helptext [&#039; + referencing_schema_name + &#039;.&#039; + referencing_entity_name + &#039;]&#039;
 FROM sys.dm_sql_referencing_entities(&#039;YourTable&#039;,&#039;OBJECT&#039;)

both of the above doesnt return proctest as table was used inside dynamic string in it. In such cases I rely upon below query


 select definition from sys.sql_modules where definition like &#039;% Employee%&#039;

and I&#039;ve blogged about that as well here

http://visakhm.blogspot.com/2012/03/advantages-of-using-syssqlmodules-view.html]]></description>
		<content:encoded><![CDATA[<p>This has a limitation. It wont return any dependency where object has been used inside a dynamic sql string</p>
<p>see this small example</p>
<p>CREATE PROCEDURE proctest1<br />
AS</p>
<p>EXEC(&#8216;SELECT  * FROM YourTable&#8217;)<br />
GO</p>
<p>CREATE PROCEDURE proctest1<br />
AS</p>
<p>SELECT  * FROM YourTable<br />
GO</p>
<p>&#8211;finding dependency using two conventional methods<br />
sp_depends &#8216;YourTable&#8217;</p>
<p>SELECT &#8216;EXEC sp_helptext [' + referencing_schema_name + '.' + referencing_entity_name + ']&#8216;<br />
 FROM sys.dm_sql_referencing_entities(&#8216;YourTable&#8217;,'OBJECT&#8217;)</p>
<p>both of the above doesnt return proctest as table was used inside dynamic string in it. In such cases I rely upon below query</p>
<p> select definition from sys.sql_modules where definition like &#8216;% Employee%&#8217;</p>
<p>and I&#8217;ve blogged about that as well here</p>
<p><a href="http://visakhm.blogspot.com/2012/03/advantages-of-using-syssqlmodules-view.html" rel="nofollow">http://visakhm.blogspot.com/2012/03/advantages-of-using-syssqlmodules-view.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
