Transact SQL scripts written by
DBAs and Developers for
DBAs and Developers.
To submit a comment about this script
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
| 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
| 2008DBA
|
Nice, this will helpful when trying to find problem queries.
|