Home Forums Article Discussions Article Discussions by Author Discuss content posted by Ian Stirk What SQL Statements Are Currently Executing? RE: What SQL Statements Are Currently Executing?
CR8NK
Old Hand
Points: 309
More actions
October 28, 2008 at 4:28 pm
#890963
Great code, thanks!
I would also propose creating a view for this instead of a proc. It fits in with the DMVs provided by SQL and allows for easier joining to other system data and extensibility (ORDER BY, Filtering by DB, etc.)
thanks,
Creighton