UltraLite Database User's Guide
Dynamic SQL
Dynamic SQL language elements
Operators
The precedence of operators in expressions is as follows. The operators at the top of the list are evaluated before those at the bottom of the list.
Names, functions, constants
()
unary operators (operators that require a single operand): +, -
~
&, | , ^,
*, /, %
+, -
||
Comparisons: >, <, <>, !=, <=, >=, [ NOT ] BETWEEN, [ NOT ] IN, [ NOT ] LIKE
Comparisons: IS [NOT] TRUE, FALSE, UNKNOWN
NOT
AND
OR
When you use more than one operator in an expression, it is recommended that you make the order of operation explicit using parentheses rather than relying on an identical operator precedence in UltraLite.