Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The NULL predicate indicates whether the document has a value for the indicated column.
The NULL predicate has the following syntax:
...WHERE <column> IS [NOT] NULL
The optional NOT keyword negates the result. The column can be a regular or delimited identifier.
Important
To test whether a column has the NULL value, you must use the NULL predicate. It is not valid to use the NULL value in a comparison predicate. "WHERE column IS NULL" is correct. "WHERE column = NULL" is not valid.
The following example returns documents that do not have a System.Video.Director value.
...WHERE System.Video.Director IS NULL
Reference
Conceptual
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today