skip to the main content area of this page
Search Script Archive 
Transact SQL scripts written by
DBAs and Developers for
DBAs and Developers.

To submit a comment about this script click here here or to submit your own script click here.

What SQL Queries Are Currently Running?
Description:
Taken from: http://blogs.msdn.com/irenak/archive/2007/04/27/sysk-338-what-sql-queries-are-currently-running.aspx This is cool script - wish I had written it! 
Submitted By:   jond 
 



Date: 08/21/2007
Submitted By Comment
MattM This query works great when trying to figure out what sql statement is executing when running in a stored procedure.

Date: 05/11/2007
Submitted By Comment
2008DBA Nice, this will helpful when trying to find problem queries.