mysql回滚点 Save point语句用法
时间:2021-06-06 19:24:38
收藏:0
阅读:0
Begin -- 事务开启
insert ...
update ...
Save point pointA; -- 保存点A,名字随便取
insert ...
update ...
Save point pointB; -- 保存点B,名字随便取
Rollback to pointA; -- 回滚至保存点A
Rollback; -- 全部回滚
评论(0)