Quantcast
Channel: Pro·te·an
Viewing all articles
Browse latest Browse all 24

Get the query and execution plan for a session

$
0
0
A simple piece of code to help you get the execution plan and the query text for a currently running query. This is especially useful when dynamic sql is being run against your database or if DBCC InputBuffer reports that a stored procedure is being run. You can actually view the execution plan for the [...]

Viewing all articles
Browse latest Browse all 24

Trending Articles