| Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03  | 
  | 
  | 
PDF · Mobi · ePub | 
Returns the Oracle maximum column size as stored in the Oracle data dictionary. Not available at design time and read-only at run time.
field_maxsize = orafield.OraMaxSize
Long Integer
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 |