SQL adaptation guide For SQLite 3.5.x, 3.6.x / Data dictionary |
Informix® provides two data types to store date and time information:
SQLite 3 does not have a native type for date/time storage, but you can use data/time type names and functions based on the string representation of dates and times. The date/time values are stored in the TEXT native type. The date/time functions of SQLite are based on standard DATE (YYYY-MM-DD), TIME (hh:mm:ss) and TIMESTAMP (YYYY-MM-DD hh:mm:ss) concepts.
Informix DATE type is not translated, it will be used as is by SQLite.
Informix DATETIME HOUR TO SECOND type is translated to TIME.
Informix DATETIME YEAR TO FRACTION and all other combinations are translated to TIMESTAMP.