Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 44 of 134
Takes two datetimes as input and stores their difference in an interval.
sword OCIDateTimeSubtract ( dvoid *hndl, OCIError *err, OCIDateTime *indate1, OCIDateTime *indate2, OCIInterval *inter );
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 the subtrahend.
Pointer to the minuend.
Pointer to the output interval.
OCI_SUCCESS if the function completes successfully,
OCI_INVALID_HANDLE if err
is null pointer,
OCI_ERROR, if the input datetimes are not of comparable types.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|