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

Contents