The logical data type has as its domain the three literals true, false and unknown. Syntax: 243 logical_type = LOGICAL . The following ordering holds for the values of the logical data type: false < unknown < true. The logical data type is compatible with the boolean data type, except that the value unknown cannot be assigned to a boolean variable.