主键不允许空值。
定义主键以对不允许空值的指定列中输入的值强制唯一性。
Define a primary key to enforce uniqueness for values entered in specified columns that do not allow nulls.
可将唯一约束附加到允许空值的列,但是只能将主键约束附加到不允许空值的列。
You can attach unique constraints to columns that allow null values, whereas you can attach primary key constraints only to columns that do not allow null values.
如果规定一个不允许有空值是一个约束,那么字段必须有一个不同于空值的默认值。
If a NOT NULL constraint is specified, then the column must have a default value other than NULL.
如果规定一个不允许有空值是一个约束,那么字段必须有一个不同于空值的默认值。
If a NOT NULL constraint is specified, then the column must have a default value other than NULL.
应用推荐