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).
SmallInt
Double
Varchar(5)
Varchar(40)
the abstract Date, which compares with both STRICT_DATE and DATETIME
Date
enumerations compare only with the same enumeration
Types in the same comparison class can be compared with each other, e.g. as join keys. Precise widths and parameters don't matter:
SmallIntcompares withDouble, andVarchar(5)withVarchar(40).