Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to capture all statements/SPs and RPCs (either they finish or fail) on a SQL 2005 server using SQL trace. Are the following events enough?

Stored Procedure


share|improve this question
You may also want to capture the SQL:BatchStarting and SQL:BatchCompleted events. – Thomas Stringer Sep 13 '11 at 0:12
up vote 4 down vote accepted

Just use a trace template. Click File, New Trace, and choose the Replay template. That'll get you everything that happens.

share|improve this answer
Thanks heaps !! – Manjot Oct 16 '11 at 21:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.