字段约束:字段属性,给字段制定一系列规则或条件,在,增、删、改数据时必须满足这些规则或者条件。
约束类型:
1.数据类型
2.默认default
3.无符号unsigned
4.零填充zerofill
5.注释comment
6.更新on update
7.非空not null
8.主键primary key
9.自增auto increment
10.唯一性unique
11.外键foreign key
数据库-DB:数据约束条件
于 2022-08-23 11:30:04 首次发布