1.没有定义约束名 alter table 表名 modify 列名 类型 null; 2.定义约束名 alter table 表名称 drop constraint 约束名 另收集了一张整理好的图片: