Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 123 of 134
Assigns one string to another string.
sword OCIStringAssign ( OCIEnv *env, OCIError *err, CONST OCIString *rhs, OCIString **lhs );
The OCI environment handle initialized in object mode.
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()
.
Right-hand side (source) of the assignment. Can be in UTF-16.
Left-hand side (target) of the assignment. Its buffer is UTF-16 if rhs
is UTF-16.
Assigns rhs
string to lhs
string. The lhs
string may be resized depending upon the size of the rhs
. The assigned string is null-terminated. The length field will not include the extra codepoint or byte needed for null-termination.
This function returns an error if the assignment operation runs out of space.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|