is null
operator
Applies to: Databricks SQL Databricks Runtime
Tests whether expr
is NULL
.
Syntax
expr is [not] null
Arguments
expr
: An expression of any type.
Returns
A BOOLEAN.
If not
is specified this operator is a synonym for isnotnull(expr)
.
Otherwise the operator is a synonym for isnull(expr)
.
Examples
> SELECT 1 is null;
false
> SELECT 1 is not null;
true
Related functions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for