get_session_sql_text
Retrieve the full SQL text currently executed by an Oracle session using its SID and serial number. Identify running statements for diagnostics or tuning.
Instructions
Return the full SQL text currently being executed by a session, given its sid and serial#.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | Session id (SID). | |
| serialNum | Yes | Session serial number. |