Sql-server – Live monitoring SQL statements on SQL Server

monitoringsql server

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?

Best Answer

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.