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
 General SQL Server Forums
 New to SQL Server Programming
 chain of calls

Author  Topic 

aakcse
Aged Yak Warrior

570 Posts

Posted - 2010-03-08 : 10:05:45
Is it possible to see the chain of calls made from one procedure to other

for e.g. proc1--has a call to proc2 in turn proc2 is calling proc3 so on..

I am using sqlserver 2005

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-03-08 : 10:08:57
why should you nest calls to this level?

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

Go to Top of Page

aakcse
Aged Yak Warrior

570 Posts

Posted - 2010-03-08 : 10:26:54
Hi Visakh,

I have not done the nesting, it is already there. I need to find the level of nesting

Regards,
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-03-08 : 10:28:11
quote:
Originally posted by aakcse

Hi Visakh,

I have not done the nesting, it is already there. I need to find the level of nesting

Regards,



then you need to make use of system stored proc sp_depends to find dependency of each proc

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

Go to Top of Page
   

- Advertisement -