?
Solved

Trace SP hit which is inside another SP using Profiler

Posted on 2013-01-21
3
Medium Priority
?
386 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 1000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
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…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

801 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