SQL Flow Field Guide

IS NULL

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

NULL test

What changes

Input
an expression
Output or change
TRUE or FALSE
Return type
Boolean

Syntax at a glance

expression IS [ NOT ] NULL

Work example

A data-quality report must find missing values rather than compare them with an ordinary value.

Test one NULL and one non-NULL row. Do not replace IS NULL with equals NULL.

Check your work IS NULL. Only the NULL row passes the filter.

Practice SQL

Open in SQL Flow
SELECT Value FROM (VALUES (1), (NULL)) AS Items(Value) WHERE Value IS NULL;

Open Microsoft Learn for full syntax, permissions, and details for your version.