Name
ifnull() — Return first non-NULL argument
Common Usage
ifnull(param1
,param2
)
Description
The ifnull()
function is basically a fixed
two-parameter version of coalesce()
. If
is not NULL, it is returned. If param1
is NULL, param1
is returned.param2
See Also
Get Using SQLite now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.