Get started
Load & manage data
Work with data
Administration
Reference & resources
Updated Mar 24, 2023
Send us feedback
not
Applies to: Databricks SQL Databricks Runtime
Returns logical negation of the argument.
not expr
expr: A BOOLEAN expression.
expr
A BOOLEAN.
This operator is an alias for ! (bang sign) operator.
> SELECT not true; false > SELECT not false; true > SELECT not NULL; NULL
& (ampersand sign) operator
| (pipe sign) operator
! (bang sign) operator