OCI and Dynamic SQL via REF Cursors
(Doc ID 62595.1)
Last updated on JULY 02, 2022
Applies to:
Oracle Database - Personal Edition - Version 8.0.3.0 and laterOracle Database - Standard Edition - Version 8.0.3.0 and later
Oracle Database - Enterprise Edition - Version 8.0.3.0 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Generic (Platform Independent)
Purpose
The following example shows how a dynamic ref cursor may be opened in PL/SQL using a statement passed from OCI, with the data from the cursor fetched in the OCI program. The PL/SQL cursor variable is bound to an OCI statement handle.
Details
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |