Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 5 of 106
Returns piece information for a piecewise operation.
sword OCIStmtGetPieceInfo( CONST OCIStmt *stmtp, OCIError *errhp, dvoid **hndlpp, ub4 *typep, ub1 *in_outp, ub4 *iterp, ub4 *idxp, ub1 *piecep );
The statement when executed returned OCI_NEED_DATA.
An error handle you can pass to OCIErrorGet()
for diagnostic information in the event of an error.
Returns a pointer to the bind or define handle of the bind or define whose runtime data is required or is being provided.
The type of the handle pointed to by hndlpp
: OCI_HTYPE_BIND (for a bind handle) or OCI_HTYPE_DEFINE (for a define handle).
Returns OCI_PARAM_IN if the data is required for an IN bind value. Returns OCI_PARAM_OUT if the data is available as an OUT bind variable or a define position value.
Returns the row number of a multiple row operation.
The index of an array element of a PL/SQL array bind operation.
Returns one of the following defined values OCI_ONE_PIECE, OCI_FIRST_PIECE, OCI_NEXT_PIECE and OCI_LAST_PIECE.
When an execute/fetch call returns OCI_NEED_DATA to get/return a dynamic bind/define value or piece, OCIStmtGetPieceInfo()
returns the relevant information: bind/define handle, iteration, index number and which piece.
See Also:
See the section "Runtime Data Allocation and Piecewise Operations" for more information about using |
OCIAttrGet(), OCIAttrSet(), OCIStmtExecute(), OCIStmtFetch(), OCIStmtSetPieceInfo()
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|