Filter Expression Syntax Reference
Query filter expressions have the following form.
Operator
operator can be any operator in the following table:
Operator | Description |
---|---|
=
== IS |
|
!=
<> IS NOT |
|
> | |
< | |
>= | |
<= | |
ISNULL
IS NULL |
Tests that the row does not contain a value in this column. |
NOTNULL
NOT NULL IS NOT NULL |
Tests that the row contains a value in this column. |
BETWEEN value_1 and value_2 | Requires two values, separated by the keyword and. The range includes the end values. |
IN ( value [, value ]* ) | Requires a set of values, separated by commas, surrounded by parentheses. |
Value
value can be any value of the same data type as the column's data type.
Surround string values in single quote characters: for example, 'My Value'.
Negation
NOT reverses the boolean value of a logical expression that follows it. For example, you can use the operators NOT BETWEEN and NOT IN.
You can also precede an operator clause with
NOT, for example:
NOT column operator value
Related concepts
Related reference
Copyright © Cloud Software Group, Inc. All rights reserved.