<?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: Find Dependent Objects</title>
	<atom:link href="http://sqlserverplanet.com/sql-server-2008/find-dependent-objects/feed" rel="self" type="application/rss+xml" />
	<link>http://sqlserverplanet.com/sql-server-2008/find-dependent-objects</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: Derek Dieter</title>
		<link>http://sqlserverplanet.com/sql-server-2008/find-dependent-objects/comment-page-1#comment-866</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Tue, 20 Sep 2011 05:03:13 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=140#comment-866</guid>
		<description>Hi John,

Yes, I believe it is a bug.  If you look, I bet that procedure references an object that does not exist.  Instead of SQL Server bypassing it, it raises an error.</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Yes, I believe it is a bug.  If you look, I bet that procedure references an object that does not exist.  Instead of SQL Server bypassing it, it raises an error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Galt</title>
		<link>http://sqlserverplanet.com/sql-server-2008/find-dependent-objects/comment-page-1#comment-858</link>
		<dc:creator>John Galt</dc:creator>
		<pubDate>Sun, 18 Sep 2011 15:12:17 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=140#comment-858</guid>
		<description>Hello Derek,

Thank you for your offering. However, this query throws an un-captured error when no columns are detected. I received this when I applied it to one of my databases. It needs more seasoning.

Msg 2020, Level 16, State 1, Line 5
The dependencies reported for entity &quot;dbo.rpt_Ca____&quot; do not include references to columns. This is either because the entity references an object that does not exist or because of an error in one or more statements in the entity.  Before rerunning the query, ensure that there are no errors in the entity and that all objects referenced by the entity exist.</description>
		<content:encoded><![CDATA[<p>Hello Derek,</p>
<p>Thank you for your offering. However, this query throws an un-captured error when no columns are detected. I received this when I applied it to one of my databases. It needs more seasoning.</p>
<p>Msg 2020, Level 16, State 1, Line 5<br />
The dependencies reported for entity &#8220;dbo.rpt_Ca____&#8221; do not include references to columns. This is either because the entity references an object that does not exist or because of an error in one or more statements in the entity.  Before rerunning the query, ensure that there are no errors in the entity and that all objects referenced by the entity exist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Dieter</title>
		<link>http://sqlserverplanet.com/sql-server-2008/find-dependent-objects/comment-page-1#comment-754</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Sat, 13 Aug 2011 05:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=140#comment-754</guid>
		<description>Hi Rathnam,

After looking into this error, it seems as if SQL 2008 does not allow procedures that have orphaned references to procedures, tables, or columns that do not exist.  It seems as if this procedure would be able to overlook this issue, however they do not.  In my opinion, it would be a great enhancement to overlook this issue.

Thanks,
Derek</description>
		<content:encoded><![CDATA[<p>Hi Rathnam,</p>
<p>After looking into this error, it seems as if SQL 2008 does not allow procedures that have orphaned references to procedures, tables, or columns that do not exist.  It seems as if this procedure would be able to overlook this issue, however they do not.  In my opinion, it would be a great enhancement to overlook this issue.</p>
<p>Thanks,<br />
Derek</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rathnam</title>
		<link>http://sqlserverplanet.com/sql-server-2008/find-dependent-objects/comment-page-1#comment-750</link>
		<dc:creator>Rathnam</dc:creator>
		<pubDate>Thu, 11 Aug 2011 10:21:10 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=140#comment-750</guid>
		<description>Hi Derek,

I am using below version

Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (Intel X86)   Apr  2 2010 15:53:02   Copyright (c) Microsoft Corporation  Developer Edition on Windows NT 5.2  (Build 3790: Service Pack 2) 

Thanks &amp; Regards,
Rathnam</description>
		<content:encoded><![CDATA[<p>Hi Derek,</p>
<p>I am using below version</p>
<p>Microsoft SQL Server 2008 R2 (RTM) &#8211; 10.50.1600.1 (Intel X86)   Apr  2 2010 15:53:02   Copyright (c) Microsoft Corporation  Developer Edition on Windows NT 5.2  (Build 3790: Service Pack 2) </p>
<p>Thanks &amp; Regards,<br />
Rathnam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Dieter</title>
		<link>http://sqlserverplanet.com/sql-server-2008/find-dependent-objects/comment-page-1#comment-748</link>
		<dc:creator>Derek Dieter</dc:creator>
		<pubDate>Wed, 10 Aug 2011 13:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://sqlserverplanet.com/?p=140#comment-748</guid>
		<description>Hi Rathnam,

I believe that is a SQL 2008 bug.  I&#039;m not sure but think it may be fixed in R2.  The only workaround is likely to drop the object.

Best of Luck,
Derek</description>
		<content:encoded><![CDATA[<p>Hi Rathnam,</p>
<p>I believe that is a SQL 2008 bug.  I&#8217;m not sure but think it may be fixed in R2.  The only workaround is likely to drop the object.</p>
<p>Best of Luck,<br />
Derek</p>
]]></content:encoded>
	</item>
</channel>
</rss>

