The Unequality operator is used to compare two values and to check whether these values are not equal.
The <>
operator can be used to compare values of any type.
Syntax
Value1 <> Value2
Returns
The result of the <>
operator is a boolean.
The result is true when Value1
and Value2
are not equal.
The result is false when Value1
and Value2
are equal.
Examples
15 <> 7 /* results in true */
"Hello World" <> "Hello World" /* results in false */
'2014-08-21' <> '2014-18-31' /* results in true */