Oracle Objects for OLE C++ Class Library Release 9.2 Part Number A95896-01 |
|
Applies To
Description
This method returns the Oracle type of the database field or parameter.
Usage
short GetServerType(void) const
Remarks
Every column in an Oracle database and every column computed in a SQL statement has a type. This method returns the type of the field. It will have one of the following values:
Value |
Description |
---|---|
OTYPE_VARCHAR2 |
Varchar2, variable length character. |
OTYPE_NUMBER |
Numeric field. |
OTYPE_LONG |
Long text (> 2000 bytes). |
OTYPE_ROWID |
Oracle rowid. |
OTYPE_DATE |
A date. |
OTYPE_RAW |
Raw bytes. |
OTYPE_LONGRAW |
Long blob of bytes (generally > 255 bytes). |
OTYPE_CHAR |
Fixed-length text. |
OTYPE_MSLABEL |
Special type for Trusted Oracle. |
OTYPE_CURSOR |
PL/SQL cursor type |
OTYPE_OBJECT |
Object |
OTYPE_REF |
Ref |
OTYPE_COLL |
Collection |
OTYPE_BLOB |
Blob |
OTYPE_CLOB |
Clob |
OTYPE_BFILE |
Bfile |
OTYPE_VARRAY |
VARRAY |
OTYPE_TABLE |
Table |
Return Value
The type of the field, or 0 on error.
|
Copyright © 1998, 2002 Oracle Corporation. All Rights Reserved. |
|