Is It Null Or Not Null?
In PostgreSQL, the standard way to check if something is NULL
is like so:
To check if something is not null, you just add not
:
PostgreSQL also comes with ISNULL
and NOTNULL
which are non-standard ways of doing the same as above:
Last updated