Improve company productivity with a Business Account.Sign Up

x
?
Solved

SQL Profiler show result of stored procedures

Posted on 2015-02-07
2
Medium Priority
?
145 Views
Last Modified: 2015-02-07
I am trying to find what stored procedure is being run, the parameter values sent down to it and the results of the stored procedure. Using SQL Profiler 2014 I can capture the sp but not the resulting SQL statements that are being run. Which SQL events must I turn on to see the SQL statement(s) that is run?
0
Comment
Question by:rwheeler23
2 Comments
 
LVL 7

Accepted Solution

by:
Camillia earned 2000 total points
ID: 40595971
Try SP:StmtCompleted.

You can also have SQL:BatchStarted and SQL:BatchCompleted for more detail in addition to above.
0
 

Author Closing Comment

by:rwheeler23
ID: 40596107
Thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.

608 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