Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
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 |
Long Integer