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 2005 Forums
 Transact-SQL (2005)
 list of tables in sp

Author  Topic 

dhanu.tpk
Starting Member

14 Posts

Posted - 2010-02-01 : 05:14:05
Hi,

Get list of tables used in sp by passing sp name

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-01 : 05:18:58
make use of sp_depends
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-02-01 : 05:20:14
please note that this wont report cross db dependencies. If you're using sql 2008 you can use below

http://visakhm.blogspot.com/2010/01/finding-cross-server-cross-db-object.html
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2010-02-01 : 06:10:00
quote:
Originally posted by visakh16

please note that this wont report cross db dependencies. If you're using sql 2008 you can use below

http://visakhm.blogspot.com/2010/01/finding-cross-server-cross-db-object.html


Shouldn't your blogged be named http://visakh16.blogspot.com/ ?

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -