Oracle Call Interface Programmer's Guide Release 9.0.1 Part Number A89857-01 |
|
OCI Any Type and Data Functions, 19 of 25
Adds a new skeleton instance to the OCIAnyDataSet and all the attributes of the instance are set to null.
sword OCIAnyDataSetAddInstance ( OCISvcCtx *svchp, OCIError *errhp, OCIAnyDataSet *data_set, OCIAnyData **data );
The OCI service context.
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()
.
OCIAnyDataSet to which a new instance is added.
OCIAnyData corresponding to the newly added instance. If (*data)
is null, a new OCIAnyData will be allocated for the same duration as the OCIAnyDataSet. If (*data)
is not null, it will be reused. This OCIAnyData can be subsequently constructed using the OCIAnyDataConvert()
call or it can be constructed piece-wise using the OCIAnyDataAttrSet()
or the OCIAnyDataCollAddElem()
calls.
This call returns this skeleton instance through the OCIAnyData parameter which can be constructed subsequently by invoking the OCIAnyData API.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|