dbTalk Databases Forums  

How to capture executing of inner SPs using profiler

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss How to capture executing of inner SPs using profiler in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
omtechguy
 
Posts: n/a

Default How to capture executing of inner SPs using profiler - 02-15-2011 , 03:44 AM






Hi,

Currently, i know that i can capture SP that executing from code or
from SQL Managmtnt studio. bit if a specific SP executing another SP i
don't see that in the profiler.

Any idea how can i see that?

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: How to capture executing of inner SPs using profiler - 02-15-2011 , 04:31 PM






omtechguy (omtechguy (AT) gmail (DOT) com) writes:
Quote:
Currently, i know that i can capture SP that executing from code or
from SQL Managmtnt studio. bit if a specific SP executing another SP i
don't see that in the profiler.

Any idea how can i see that?
You need to add the events SP:SPStarting and SP:SPCompleted to you
trace.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.