Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

ElementType (OraCollection) Property

Applies To

OraCollection Object

Description

An integer code representing the Server type of an element. This property is read-only at runtime.

Usage

elem_type = OraCollection.ElementType

Remarks

The codes correspond to the Oracle external datatypes. The following Oracle element datatypes are supported:

Oracle Element Datatypes Supported

Constant
Value
External Datatype
ORATYPE_VARCHAR2
1
VARCHAR2
ORATYPE_NUMBER
2
NUMBER
ORATYPE_SINT
3
SIGNED INTEGER
ORATYPE_FLOAT
4
FLOAT
ORATYPE_VARCHAR
9
VARCHAR
ORATYPE_DATE
12
DATE
ORATYPE_UINT
68
UNSIGNED INTEGER
ORATYPE_CHAR
96
CHAR
ORATYPE_CHARZ
97
Null Terminated CHAR
ORATYPE_BFLOAT
100
BINARY_FLOAT
ORATYPE_BDOUBLE
101
BINARY_DOUBLE
ORATYPE_OBJECT
108
Object datatype
ORATYPE_REF
110
Ref datatype
Data Type

Integer