Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 46 of 134
Converts a OCIDateTime descriptor to an array.
sword OCIDateTimeToArray ( dvoid *hndl, OCIError *err, CONST OCIDateTime *datetime, CONST OCIInterval *reftz, ub1 *outarray, ub4 *len ub1 fsprec );
The OCI user session handle or environment handle.
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()
.
Pointer to an OCIDateTime descriptor.
Descriptor for the OCIInterval used as a reference when converting SQL_TIMESTAMP_LTZ type.
Array of bytes containing the date.
Length of outarray
.
Fractional second precision in the array.
The array is allocated by OCI and its length is returned.
OCI_SUCCESS,
OCI_ERROR if datetime is invalid.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|