Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Any Type and Data Functions, 2 of 26
Adds an attribute to an object type that was constructed earlier with typecode OCI_TYPECODE_OBJECT.
sword OCITypeAddAttr ( OCISvcCtx *svchp, OCIError *errhp, OCIType *type, CONST text *a_name, ub4 a_length, OCIParam *attr_info );
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()
.
The type description that is being constructed.
Optional. The name of the attribute.
Optional. The length of attribute name, in bytes.
Information on the attribute. It is obtained by allocating an OCIParam parameter handle and setting type information in the OCIParam using OCIAttrSet()
calls.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|