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

How can I monitor running SQL Statements for my SQL Server, is it possible using only SQL Server without 3rd party tools?

As an alternative can anybody recommend any free tool which can monitor running statements over ODBC connections?

share|improve this question

migrated from Feb 22 '13 at 8:40

This question came from our site for professional and enthusiast programmers.

up vote 5 down vote accepted

There's Sql Server Profiler which comes with the installation. It allows you to monitor all SQL statements with various filter criteria. You could also pair it up with PerfMon to investigate performance.

MSDN Sql Server Profiler

I also found this site Receiving Profiler Events. Which allows real-time tracking in .NET.

share|improve this answer

If you use SQL Profiler, you can monitor all the goings on in the SQL DB.

share|improve this answer

I would prefer Adam Machanic's sp_WhoIsActive for that.

You can create a job that executes the SP say every 5 minutes and insert the results to a table. Than examine that table for reporting.

Brent Ozar has a blog post for a similar purpose. He uses it to mitigate a problem.

share|improve this answer

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.