IS_NOT_NULL
Description
The IS_NOT_NULL function is used to check whether a given expression (expr) is not null. If the expression is not null, the function returns true; otherwise, it returns false. This function works the same as the IS NOT NULL condition in SQL statements.
Parameter Description
expr
: An expression of any type, used to check whether its value is null.
Return Result
Returns a boolean value, true if expr is not null, otherwise false.
Example
- Check if a number is not null
- Check if the string is not null
- Check if the date is not null
- Use IS_NOT_NULL in queries to filter non-null records