Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
Databricks SQL
Databricks Runtime
Returns the bitwise NOT of expr.
Syntax
~ expr
Arguments
expr: An integral numeric type expression.
Returns
The result type matches the type of expr.
Examples
> SELECT ~ 0;
-1