BOOLEAN data type


Informix supports the BOOLEAN data type, which can store 't' or 'f' values.

Genero BDL implements the BOOLEAN data type in a different way: A BOOLEAN variable stores integer values 1 or 0 (for TRUE or FALSE). This type is designed to hold the result of a boolean expression.


SQLite does not implement a native BOOLEAN type, but accepts BOOLEAN in the SQL syntax for data column types, and uses integer values 1/0 for true/false booleans.


The SQLite database interface supports the BOOLEAN data type and stores 1 or 0 values in the column.

The BOOLEAN type translation can be controlled with the following FGLPROFILE entry:
dbi.database.dsname.ifxemul.datatype.boolean = { true | false }
For more details see IBM Informix emulation parameters in FGLPROFILE.