修改表约束

ALTER TABLE 表名 Drop constraint 约束名;

ALTER TABLE 表名 add constraint 约束名 CHECK 约束条件;

原文地址:https://www.cnblogs.com/lidapengwww/p/14468327.html