Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 table is used by which Stored procedue in Sql seve

Author  Topic 

kond.mohan
Posting Yak Master

213 Posts

Posted - 2013-02-15 : 06:08:51
hi,

we have created 200 stored proceduers used by Different Reports in Sql sever 2008.Each Stored proceduer used by different Tables based on Requierement.is there anywway to find the procedure used Specified table instead of checking (opening ) each Procedures.

in the case of SSIS packages(SElect queries,Stored procedures) how to to identiy specified tables.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2013-02-15 : 06:20:23
you can use sp_depends

another way is this


http://visakhm.blogspot.in/2012/03/advantages-of-using-syssqlmodules-view.html

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -