Types in the same comparison class can be compared with each other, e.g. as join keys. Precise widths and parameters don't matter: SmallInt compares with Double, and Varchar(5) with Varchar(40).

Enumeration Members

BOOLEAN: "BOOLEAN"
DATE: "DATE"

the abstract Date, which compares with both STRICT_DATE and DATETIME

DATETIME: "DATETIME"
ENUM: "ENUM"

enumerations compare only with the same enumeration

NUMERIC: "NUMERIC"
STRICT_DATE: "STRICT_DATE"
STRICT_TIME: "STRICT_TIME"
STRING: "STRING"