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 |
|
nitin1353
Constraint Violating Yak Guru
381 Posts |
Posted - 2008-07-23 : 06:56:51
|
| GurusSuppose i have a function a and in function a i am calling other function b in function a and function c in function anow thry t-sql how can i find out the number of functions called in a function??Thanks |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-07-23 : 07:06:10
|
Use SQL Profiler. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-07-23 : 07:12:35
|
| try using sp_depends |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-07-23 : 07:37:25
|
Will that work on dynamic sql too? E 12°55'05.25"N 56°04'39.16" |
 |
|
|
VGuyz
Posting Yak Master
121 Posts |
Posted - 2008-07-23 : 10:31:23
|
| offcourse it can be used in dynamic sql. |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-07-23 : 11:28:32
|
I meant, do the sp_depends stored procedure notice the dynamic dependencies in a procedure as well. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
|
|
|