﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / T-SQL (SS2K5)  / sp to object dependencies / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 05:08:10 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: sp to object dependencies</title><link>http://www.sqlservercentral.com/Forums/Topic732064-338-1.aspx</link><description>It could be you have to qualify the object if schema is NOT dbo.Supposing you have the Adventureworks db attached, you should get results with this:[i]exec sp_depends 'person.contact'[/i]If not, then I don't know what could be wrong; if you do, then this sp works and it may mean your object has no dependencies.</description><pubDate>Wed, 10 Jun 2009 06:52:03 GMT</pubDate><dc:creator>FreeHansje</dc:creator></item><item><title>RE: sp to object dependencies</title><link>http://www.sqlservercentral.com/Forums/Topic732064-338-1.aspx</link><description>Hi Hans,thanks for update.its not working in my database .it is not returning anything after giving the sp name.RegardsAmit</description><pubDate>Wed, 10 Jun 2009 04:47:30 GMT</pubDate><dc:creator>amittheming</dc:creator></item><item><title>RE: sp to object dependencies</title><link>http://www.sqlservercentral.com/Forums/Topic732064-338-1.aspx</link><description>You use sp_depends 'ObjectName'. This will get you all dependanciesIf you wish to tailor the output to your specific needs place it in a (temporary) table.Mind, there are other ways to find dependencies, not all dependencies can be found like above. Have a read:[url]http://www.mssqltips.com/tip.asp?tip=1294[/url]</description><pubDate>Wed, 10 Jun 2009 04:31:56 GMT</pubDate><dc:creator>FreeHansje</dc:creator></item><item><title>sp to object dependencies</title><link>http://www.sqlservercentral.com/Forums/Topic732064-338-1.aspx</link><description>Hi All,Can abyone help me to create a script  that will tell me what all object (table,views) are dependent on a particular stored procedure.Thanks in advance</description><pubDate>Wed, 10 Jun 2009 01:27:42 GMT</pubDate><dc:creator>amittheming</dc:creator></item></channel></rss>