Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
The precedence of operators in expressions is as follows. Expressions in parentheses are evaluated first, then multiplication and division before addition and subtraction. String concatenation happens after addition and subtraction. The operators at the top of the list are evaluated before those at the bottom of the list.
Make the order of operation explicit in UltraLite, rather than relying on an operator precedence. That means, when you use more than one operator in an expression you should order operations clearly with parentheses.
names, functions, constants, IF expressions, CASE expressions
unary operators (operators that require a single operand): +, -
&, | , ^
*, /, %
comparisons: >, <, <>, !=, <=, >=, [ NOT ] BETWEEN, [ NOT ] IN, [ NOT ] LIKE
comparisons: IS [NOT] TRUE, FALSE, UNKNOWN
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|