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

OraMaxSize Property

See Also

Applies To

OraField

Description

Returns the Oracle maximum column size as stored in the ORACLE data dictionary. Not available at design time and read-only at run time.

Usage

field_maxsize = orafield.OraMaxSize

Remarks

The return value is dependent on the Oracle Internal Data Type. The following values will be returned:

Oracle Column Type
Value
CHAR, VARCHAR2, RAW
length of the column in the table
NUMBER
22 (the internal length)
DATE
7 (the internal length)
LONG, LONG RAW
0
ROWID
(system dependent)
Functions returning internal data type 1
(such as TO_CHAR())
same as orafield.MaxDSize
Data Type

Long Integer