My Oracle Support Banner

How to Insert Relational Table with Returning Clause ? (Doc ID 60555.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 11.2.0.1 - Release: 8.1.7 to 11.2
Oracle Server - Personal Edition - Version: 8.1.7.4 to 11.2.0.1   [Release: 8.1.7 to 11.2]
Oracle Server - Standard Edition - Version: 8.1.7.4 to 11.2.0.1   [Release: 8.1.7 to 11.2]
Information in this document applies to any platform.

Goal

This example shows how to do a simple array insert with a returning clause by using callbacks through OCIBindDynamic.

To run this program you will need the following table in the scott/tiger account:

create table msg (msg varchar2(120));

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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.