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.
| Author |
Topic |
|
rammohan
Posting Yak Master
212 Posts |
Posted - 2009-11-20 : 01:22:15
|
| hi,i have a stored procedure. i need to list out all the objects used in that sp.1. i need to list out tables used by that sp n columns used by that sp.2. i need to list out sp's used by this sp(if there).3. i need to list functions used by this sp.4. i need to list out input and out put parametrs used by this sp?i need to perform it by using a query. please help meOne can never consent to creep,when one feels an impulse to soarRAMMOHAN |
|
|
rammohan
Posting Yak Master
212 Posts |
Posted - 2009-11-20 : 03:46:23
|
| please help me asapOne can never consent to creep,when one feels an impulse to soarRAMMOHAN |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-11-20 : 03:46:51
|
| exec sp_depends 'your procedure name'MadhivananFailing to plan is Planning to fail |
 |
|
|
rammohan
Posting Yak Master
212 Posts |
Posted - 2009-11-20 : 03:57:19
|
| hi madhavinan,thanks for u r reply. can fill this result into temporary tables?One can never consent to creep,when one feels an impulse to soarRAMMOHAN |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2009-11-20 : 04:01:59
|
quote: Originally posted by rammohan hi madhavinan,thanks for u r reply. can fill this result into temporary tables?One can never consent to creep,when one feels an impulse to soarRAMMOHAN
declare @sp_depends table(name varchar(100),type)insert into @sp_depends (name,type)exec sp_depends 'your procedure name'select * from @sp_dependsMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|