|Oracle Call Interface Programmer's Guide
Part Number A89857-01
More OCI Relational Functions, 47 of 97
Gets the column array row pointers for a given row number
sword OCIDirPathColArrayRowGet ( OCIDirPathColArray *dpca, OCIError *errhp, ub4 rownum, ub1 ***cvalppp, ub4 **clenpp, ub1 **cflgpp );
Direct path column array handle.
An error handle you can pass to
OCIErrorGet() for diagnostic information in the event of an error.
Zero-based row offset
Pointer to vector of pointers to column data
Pointer to vector of column data lengths
Pointer to vector of column flags
Returns pointers to column array entries for the given row. This allows the application to do simple pointer arithmetic to iterate across the columns of the specific row. This interface can be used to efficiently get or set the column array entries of a row, as opposed to calling
OCIDirPathColArrayEntrySet() for every column. The application is also responsible for not de-referencing memory beyond the column array boundaries. The dimensions of the column array are available as attributes of the column array.