Reports the number of the statement (appearing in a query batch or stored procedure) that is the currently executing SQL statement for a particular process. The currently executing SQL statement is in the query batch if both CUR_STMT_ACT_STP_DB_ID is equal to 0 and CUR_STMT_ACT_STP_ID is equal to 0. Otherwise, the currently executing SQL statement is in the stored procedure uniquely identified by these two IDs.
A value of zero indicates partial data for the currently executing SQL statement (that is, this SQL statement began executing before monitoring began. Performance metrics are available but numbers reflect only the time period since the start of monitoring).
11.5 and later
Result
No
None
None
VALUE_ SAMPLE |
VALUE_ SESSION |
RATE_ SAMPLE |
RATE_ SESSION |
AVG_ SAMPLE |
AVG_ SESSION |
---|---|---|---|---|---|
LONG |