Comparison operators

The syntax for comparison is as follows:

expression comparison-operator expression

where comparison-operator is one of the following:

Operator Description
= Equal to
> Greater than
< Less than
>= Greater than or equal to
<= Less than or equal to
!= Not equal to
<> Not equal to
!> Not greater than
!< Not less than
 Case sensitivity
 Trailing blanks
 See also