Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

IsNull

Example

Verify if the expression is a Null value.

SELECT IsNull(null);

Definition and Usage

The IsNull() function determines if an expression is Null (contains no data).

This function yields a Boolean result: TRUE (-1) indicates the expression is Null, and FALSE (0) indicates it is not Null.

Syntax

IsNull(expression)

Parameter Values

Parameter

Description

expression

Required: The value to be tested

Technical Details

Works in:

From Access 2000

More Examples

Example

Return TRUE if the expression represents a null value; otherwise, return FALSE.

SELECT IsNull(“Hello”);

Example

Return TRUE if the expression is null; otherwise, return FALSE.

SELECT IsNull(0);