How to Insert Relational Table with Returning Clause ?

(Doc ID 60555.1)

Last updated on OCTOBER 25, 2010

Applies to:

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


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));


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 hundreds of Community platforms