Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
|
Applies To
Description
This method returns integer code representing the server type of an element.
Usage
int GetElementType(void) const throw(OException)
Arguments
none
Remarks
The codes correspond to the Oracle external datatypes. The following Oracle element data types are supported:
Oracle External Datatypes
Datatype |
Value |
Description |
---|---|---|
OTYPE_VARCHAR2 | 1 | VARCHAR2 |
OTYPE_NUMBER | 2 | NUMBER |
OTYPE_SINT | 3 | SIGNED INTEGER |
OTYPE_FLOAT | 4 | FLOAT |
OTYPE_VARCHAR | 9 | VARCHAR |
OTYPE_DATE | 12 | DATE |
OTYPE_UINT | 68 | UNSIGNED INTEGER |
OTYPE_CHAR | 96 | CHAR |
OTYPE_CHARZ | 97 | Null Terminated CHAR |
OTYPE_OBJECT | 108 | Object datatype |
OTYPE_REF | 110 | Ref datatype |
This property is read-only at runtime.