Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Any Type and Data Functions, 19 of 26
Converts the OCITypeCode for an AnyData value to the SQLT code that corresponds to the representation of the value as returned by the OCIAnyData API.
sword OCIAnyDataTypeCodeToSqlt ( OCIError *errhp, OCITypeCode tc, ub1 *sqltcode, ub1 *csfrm) ;
The OCI error handle. If there is an error, it is recorded in errhp
and this function returns OCI_ERROR. Diagnostic information can be obtained by calling OCIErrorGet()
.
OCITypeCode corresponding to the AnyData value.
SQLT code corresponding to the user format of the typecode.
Charset form corresponding to the user format of the typecode. Meaningful only for character types. Returns SQLCS_IMPLICIT or SQLCS_NCHAR (for NCHAR types).
This function converts OCI_TYPECODE_CHAR as well as OCI_TYPECODE_VARCHAR2 to SQLT_VST (which corresponds to the OCIString mapping) with a charset form of SQLCS_IMPLICIT. OCI_TYPECODE_NVARCHAR2 will also return SQLT_VST (OCIString mapping is used by the OCIAnyData API) with a charset form of SQLCS_NCHAR.
See Also:
For more information see "NCHAR Typecodes for OCIAnyData Functions" |
This section describes the Any Data Set Interface functions.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|