Solved

Trace SP hit which is inside another SP using Profiler

Posted on 2013-01-21
3
363 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
3 Comments
 
LVL 39

Expert Comment

by:Pratima Pharande
Comment Utility
0
 
LVL 12

Accepted Solution

by:
NormanMaina earned 250 total points
Comment Utility
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
Comment Utility
Thanks.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now