|Oracle Call Interface Programmer's Guide
Release 2 (9.2)
Part Number A96584-01
OCI Any Type and Data Functions, 20 of 26
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