Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 54 of 106
Sets a specified entry in a column array to the supplied values.
sword OCIDirPathColArrayEntrySet ( OCIDirPathColArray *dpca, OCIError *errhp, ub4 rownum, ub2 colIdx, ub1 *cvalp, ub4 clen, ub1 cflg );
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
Column identifier (index), the column ID is returned by OCIDirPathColAttrSet()
Pointer to column data
Length of column data
Column flag. One of the following values is returned:
NULL
If cflg
is set to OCI_DIRPATH_COL_NULL, the cval
and clen
parameters are not used.
This example sets the source of data for the first row in a column array to addr
, with a length of len. In this example, the column is identified by colId
.
err = OCIDirPathColArrayEntrySet(dpca, errhp, (ub2)0, colId, addr, len, OCI_DIRPATH_COL_COMPLETE);
OCIDirPathColArrayRowGet(), OCIDirPathColArrayRowGet(), OCIDirPathColArrayReset(), OCIDirPathColArrayToStream()
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|