Solved

Trace SP hit which is inside another SP using Profiler

Posted on 2013-01-21
3
373 Views
Last Modified: 2013-01-21
I would like trace SP hit which is inside another SP using Profiler. As of now, I get only parent SP hit. How to get sub procedure hits in profiler? Please do assist.
0
Comment
Question by:Easwaran Paramasivam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 38804222
0
 
LVL 12

Accepted Solution

by:
NormanMaina earned 250 total points
ID: 38804242
In the New Trace window,go to the Trace tab and select All Events and Show All Columns.

Make sure the following columns are also selected:
SQL:Batchstring - will show the sub procedure executing
SP:StmtStarting  -will show the excecuted query from the sub procedure
0
 
LVL 16

Author Closing Comment

by:Easwaran Paramasivam
ID: 38804271
Thanks.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question