Searching for Nulls Using a SELECT Request - Teradata VantageCloud Lake

Lake - Database Reference

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
ohi1683672393549.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
ohi1683672393549

The IS NULL operator tests for the presence of nulls in a specified column. For example, to search for the names of all employees who have a null in the dept_no column, enter the following request.

     SELECT name
     FROM employee
     WHERE dept_no IS NULL;

This query returns the names of all employees with null in the dept_no column. Because all employees in the employee table were assigned to a department, the request returns no rows.