Oracle® Database Gateway for Informix User's Guide 11g Release 1 (11.1) Part Number B31047-02 |
|
|
View PDF |
This appendix contains the following section:
The gateway converts Informix data types to Oracle data types as follows:
Table A-1 Data Type Conversions
Informix | Oracle | Comment |
---|---|---|
- |
||
|
|
|
- |
||
|
|
- |
|
- |
|
|
- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- |
|
|
- |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- |
||
|
- |
|
|
- |
|
|
- |
|
|
|
|
|
- |
|
|
Precision is |
|
|
|
|
- |
||
If a length is not specified as part of |
In addition to the rules shown in the preceding table, if the maximum size for an Informix data type is smaller or larger than the corresponding Oracle data type, data might be lost. For example, if an Oracle table is defined with a column of VARCHAR2(300)
and you use the COPY
statement to copy the Oracle table to the Informix table where the Informix column is defined as VARCHAR(255)
, the data might be truncated.