A Data Type Conversion
The gateway converts Informix data types to Oracle data types as follows:
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.
                  
Table A-1 Data Type Mapping and Restrictions
| Informix | Oracle | Criteria | If Oracle uses large varchar (32k) | 
|---|---|---|---|
| 
                               -  | 
                           |||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               -  | 
                           |||
| 
                               
  | 
                           
                               
  | 
                           
                               -  | 
                           |
| 
                               
  | 
                           
                               -  | 
                           ||
| 
                               
  | 
                           
                               -  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               -  | 
                           ||
| 
                               
  | 
                           
                               -  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                        ||
| 
                               
  | 
                           
                               -  | 
                           ||
| 
                               
  | 
                           
                               -  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           
                               
  | 
                        |
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           
                               -  | 
                           |
| 
                               
  | 
                           
                               Precision is   | 
                           ||
| 
                               
  | 
                           
                               
  | 
                           ||
| 
                               -  | 
                           |||
| 
                               
 If a length is not specified as part of   | 
                           
                               
  |