数据不能回滚:
SHOW VARIABLES LIKE 'autocommit'; //查看是否自动提交 set autocommit=OFF; //关闭自动提交
alter table TRIPLEG engine=innodb; //设置当前表的引擎为 innodb
更改有外键约束的数据:
alter table EXAM_JFXXSUB disable constraint FK_EXAM_JFXXSUB; //先禁用
alter table table_name enable constraint constraint_name ; // 启用
标签:回滚,constraint,外键,Mysql,table,数据,alter From: https://www.cnblogs.com/sszywq/p/16846197.html