Product Solutions Support
Try MemSQL

ISNULL

Returns true if the value is NULL.

ISNULL (val)
(val IS NULL)

Arguments

Return Type

Boolean

Examples

memsql> select isnull(NULL), isnull(0), (NULL + 0 is NULL), (0 is NULL);
+--------------+-----------+--------------------+-------------+
| isnull(NULL) | isnull(0) | (NULL + 0 is NULL) | (0 is NULL) |
+--------------+-----------+--------------------+-------------+
|            1 |         0 |                  1 |           0 |
+--------------+-----------+--------------------+-------------+
Was this article useful?