标签: mysql sql
我想在20分钟后回滚已删除的表格。
我可以做或不做交易。?
答案 0 :(得分:1)
您总是有交易。只要它没有提交,您就可以执行回滚。 但听起来你想要回到特定的点。如果是这样,您可以定义SAVEPOINT mySavePoint; -- Do something ROLLBACK TO mySavePoint; :
SAVEPOINT mySavePoint; -- Do something ROLLBACK TO mySavePoint;
.svg
savepoint commit rollback in mysql