|Oracle Call Interface Programmer's Guide
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
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
This call returns this skeleton instance through the OCIAnyData parameter which can be constructed subsequently by invoking the OCIAnyData API.
No destruction of the old value is done here. It is your responsibility to destroy the old value pointed to by