Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 31 of 134
Performs datetime assignment.
sword OCIDateTimeAssign ( dvoid *hndl, OCIError *err, CONST OCIDateTime *from, OCIDateTime *to );
The OCI user session handle or environment handle. If a user session handle is passed, the conversion takes place in the session's NLS_LANGUAGE and the session's NLS_CALENDAR, otherwise the default is used.
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()
.
Source (rhs) datetime to be assigned.
Target (lhs) of assignment.
This function performs an assignment from the from
datetime to the to
datetime for any of the datetime types listed in the description of the type
parameter.
The type
of the output is the same as that of the input.
OCI_SUCCESS,
OCI_ERROR
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|