| Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 36 of 134
Converts an array containing a date to an OCIDateTime descriptor.
sword OCIDateTimeFromArray ( dvoid *hndl, OCIError *err, CONST ub1 *inarray, ub4 *len ub1 type, OCIDateTime *datetime, CONST OCIInterval *reftz, 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().
Array of ub1, containing the date.
Length of inarray.
Type of the resulting datetime. The array will be converted to the specific SQLT type.
Pointer to an OCIDateTime descriptor.
Descriptor for OCIInterval used as a reference when converting a SQLT_TIMESTAMP_LTZ type.
Fractional second precision of the resulting datetime.
OCI_SUCCESS,
OCI_ERROR if type is invalid.
|
![]() Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|