Getting started
User guides
Administration guides
Reference guides
Resources
Updated Aug 04, 2022
Send us feedback
~
Returns the bitwise NOT of expr.
NOT
expr
~ expr
expr: An integral numeric type expression.
The result type matches the type of expr.
> SELECT ~ 0; -1
& (ampersand sign) operator
| (pipe sign) operator
^ (caret sign) operator
bit_count function