ODBC and JDBC Guide

Table Of Contents
Chapter 7 | Supported standards 49
Relational operators
Operator Meaning
= Equal
<> Not equal
> Greater than
>= Greater than or equal to
< Less than
<= Less than or equal to
LIKE Matching a pattern
NOT LIKE Not matching a pattern
IS NULL Equal to Null
IS NOT NULL Not equal to Null
BETWEEN Range of values between a lower and upper bound
IN A member of a set of specified values or a member of a subquery
NOT IN Not a member of a set of specified values or a member of a subquery
EXISTS ‘True’ if a subquery returned at least one record
ANY Compares a value to each value returned by a subquery (operator must be preceded by
=, <>, >, >=, <, or <=); =Any is equivalent to In
ALL Compares a value to each value returned by a subquery (operator must be preceded by
=, <>, >, >=, <, or <=)