Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

How to capture executing of inner SPs using profiler

 
   Database Help (Home) -> General Discussions RSS
Next:  Call for Papers: The 2011 International Conferenc..  
Author Message
omtechguy

External


Since: Feb 15, 2011
Posts: 1



(Msg. 1) Posted: Tue Feb 15, 2011 1:44 am
Post subject: How to capture executing of inner SPs using profiler
Archived from groups: comp>databases>ms-sqlserver (more info?)

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?

 >> Stay informed about: How to capture executing of inner SPs using profiler 
Back to top
Login to vote
Erland Sommarskog2

External


Since: May 30, 2004
Posts: 2061



(Msg. 2) Posted: Tue Feb 15, 2011 6:25 pm
Post subject: Re: How to capture executing of inner SPs using profiler [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

omtechguy ( ) writes:
> 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.DeleteThis@sommarskog.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

 >> Stay informed about: How to capture executing of inner SPs using profiler 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Capture Records That Failed Insertion From XML - Does anyone know an effective way to capture any records that failed to insert into a table when inserting from an xml document in SQL Svr 2000? thanks. -ak

capture and save running sql query to database table (for .. - Hey, This may sound odd, but is there anyway to catch the current or just run query from inside a trigger? Kinda like how profiler displays the query just as you've run it, along with all the statistical data... But I'm just looking to capture the quer...

xSQL Profiler - monitor multiple SQL Servers from one cent.. - xSQL Software has just released a public beta of xSQL Profiler, an easy to install, easy to use, agent-less SQL Server monitoring tool that can be utilized for performance, auditing and compliance related tasks. xSQL Profiler utilizes the same underlyin...

SQL 2005: Transactional Replication > Executing sp on subs.. - Hi, I am trying to set up a Updatable Subscriptions for Transactional Replication with SQL 2005 (queued updating). I have a stored procedure "SYS_spShellTest" which is replicated to the subscriber via the replication option "Execution of...

Can't Auto-Start Agent - I have a SQL Server 2000 that failed to start after a Windows reboot. Agent properties are checked to auto start if stopped. Under the Agent Error Log, I have the following data: Information: SQL Agent stopping because of Windows shutdown. SQL Agent..
   Database Help (Home) -> General Discussions All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]