The following operators can be used on bit data types, integer data types (including all variants such as bit, tinyint, smallint and so on), binary values, and bit array data types in SQL Anywhere.
Operator | Description |
---|---|
& | bitwise AND |
| | bitwise OR |
^ | bitwise exclusive OR |
~ | bitwise NOT |
The bitwise operators &, | and ~ are not interchangeable with the logical operators AND, OR, and NOT.
Discuss this page in DocCommentXchange.
|
Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0 |