These operators support only NUMERIC operands. If at least one of the operands is detected as non-NUMERIC at compile time, it results in an error. An absent operand is considered a zero.
The = and <> operators support NUMERIC, ALPHANUMERIC and BOOLEAN operands. If the operands have different types, an = operator results in false while a <> operator results in true. An absent NUMERIC operand is considered a zero, an absent ALPHANUMERIC operand is considered an empty string and an absent BOOLEAN operand is considered false.
All comparison operators support only NUMERIC operands. If at least one of the operands is detected as non-NUMERIC at compile time, it results in an error. An absent operand is considered a zero.