(多用于数据库与编程)“非空;不为 NULL”。指某个字段/变量必须有值,不能是空值(NULL),常见于 NOT NULL 约束。
/ˌnɑːt ˈnʌl/
The password field is not-null.
密码字段不能为空(不能为 NULL)。
To prevent incomplete records, the table defines several not-null columns, ensuring every user has an email and a creation date.
为防止不完整记录,这张表把多个列设为非空(NOT NULL),确保每个用户都有邮箱和创建日期。
not-null 是由否定词 not(不)+ null(空值;无)组合而成的技术用语。NULL 概念在 SQL 与数据库理论中用来表示“缺失/未知的值”,因此 not-null 用来强调“必须有明确值”。