Collection, Iterator and Table Functions in PL/SQL and OCI
(Doc ID 47957.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Server - Enterprise Edition - Version: 22.214.171.124 to 126.96.36.199
Information in this document applies to any platform.
***Checked for relevance on 28-Jan-2010***
A VARRAY or TABLE is considered a single unit as far as binds and defines are concerned, and OCI will just return an opaque pointer to a collection. It is up to you to navigate through a collection, updating and inserting as necessary.
There are three sets of routines to support navigation :
- OCIColl... General Collection routines
- OCIIter... Iterator routines.
- OCITable... Routines to handle additional properties of TABLE collections.
It is possible to manipulate collections by just using the OCIColl routines, but this would be impractical for TABLES with many 'holes', or deleted elements.
The basic argument lists are documented in the OCI8 manuals. The following gives a broader overview of how to use the collection routines.
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