Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Datatype Mapping and Manipulation Functions, 124 of 134
Assigns the source text string to the target string.
sword OCIStringAssignText ( OCIEnv *env, OCIError *err, CONST OraText *rhs, ub2 rhs_len, 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, a text or UTF-16 Unicode string.
Length of the rhs
string in either codepoints (if Unicode) or in bytes (if non-Unicode).
Left-hand side (target) of the assignment. Its buffer is Unicode if rhs
is Unicode.
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 byte or codepoint needed for null-termination.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|