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
isnull(v)
v
MYSQL > SELECT c1, isnull(c1) FROM t1; +------+--------------+ | c1 | `c1` IS NULL | +------+--------------+ | NULL | 1 | | 1 | 0 | +------+--------------+