Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 130 of 134
Returns the index of the first existing element in a given table.
sword OCITableFirst ( OCIEnv *env, OCIError *err, CONST OCITable *tbl, sb4 *index );
The OCI environment handle initialized in object mode.
The OCI error handle. If there is an error, it is recorded in err
and this function returns OCI_ERROR. Obtain diagnostic information by calling OCIErrorGet()
.
Table to scan.
First index of the element which exists in the given table is returned.
For example, if OCITableDelete()
deleted the first 5 elements of a table, OCITableFirst()
returns 6.
See Also:
|
This function returns an error if the table is empty.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|