12345678910111213141516171819202122232425 |
- [discrete]
- [[esql-predicates]]
- === `IS NULL` and `IS NOT NULL` predicates
- //tag::body[]
- For NULL comparison, use the `IS NULL` and `IS NOT NULL` predicates:
- [source.merge.styled,esql]
- ----
- include::{esql-specs}/null.csv-spec[tag=is-null]
- ----
- [%header.monospaced.styled,format=dsv,separator=|]
- |===
- include::{esql-specs}/null.csv-spec[tag=is-null-result]
- |===
- [source.merge.styled,esql]
- ----
- include::{esql-specs}/null.csv-spec[tag=is-not-null]
- ----
- [%header.monospaced.styled,format=dsv,separator=|]
- |===
- include::{esql-specs}/null.csv-spec[tag=is-not-null-result]
- |===
- //end::body[]
|