How to Retrieve DML Statements Text and Values from Bind Variables
(Doc ID 363590.1)
Last updated on OCTOBER 10, 2022
Applies to:
Oracle Database Backup Service - Version N/A and laterOracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 9.2.0.1 to 10.2.0.3 [Release 9.2 to 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.
Goal
This document explains how to retrieve
- The DML and SELECT statements text
- The values of the bind variables
Example : we want to retrieve the full SELECT statement text executed on USER.DEPT and the values used in the bind variables of the following :
SQL> select * from user.dept where deptno >= :b1 and deptno<= :b2;
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |