Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
判断输入值是否为非 NULL;不是 NULL 返回 1,否则返回 0。
NULL
ISNOTNULL(v)
v
MYSQL > SELECT c1, isnotnull(c1) FROM t1; +------+--------------+ | c1 | `c1` IS NULL | +------+--------------+ | NULL | 0 | | 1 | 1 | +------+--------------+