删除约束的语法如下:Alter Table 表名Drop Constraint 约束名附加:在创建表的时候同时添加约束的写法:use stuDBgoif exists(select * from Sysobjects where name = 'stuInfo')drop table stuInfogocreate table stuInfo(stuName varchar(20) not null primary key(stuName),stuID int not null unique(stuID),stuAddress varchar(20) not null default('地址不详'),stuAge int not null check(stuAge between 15 and 40))