SQL Server中的约束 1.主键约束:primary key 2.外键约束:foreign key 3.非空约束:not null/null 4.默认值约束:default 5.唯一性约束:unique 6.check约束:check:取值范围