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 |
fjudzon
Starting Member
19 Posts |
Posted - 2011-07-05 : 16:36:27
|
Hi. I have an SP that executes others SP's and those SP's execute others SP's and then on and on. My question is : how could I see the trace of each executed SP and the execution time of each one?If I am not wrong, the SQL Profiler shows only the first SP executed and not the SP executed by it.any ideas?thanks! |
|
GilaMonster
Master Smack Fu Yak Hacker
4507 Posts |
Posted - 2011-07-05 : 16:49:57
|
Depends on the event. Trace RPC:Completed and you get the first proc. Trace SP:Completed, you get all of them.--Gail ShawSQL Server MVP |
 |
|
fjudzon
Starting Member
19 Posts |
Posted - 2011-07-05 : 16:55:41
|
Thanks, but I dont see the Trace SP:Completed option in my trace properties. any ideas? |
 |
|
fjudzon
Starting Member
19 Posts |
Posted - 2011-07-05 : 17:00:57
|
quote: Originally posted by fjudzon Thanks, but I dont see the Trace SP:Completed option in my trace properties. any ideas?
I found it clicking on "show all events"thanks! |
 |
|
|
|
|