oracle sql rollback savepoint

xiaoxiao2021-02-28  107

update ...

SAVEPOINT  update_done

insert ....

ROLLBACK update_done

savepoint 用来分布提交  出问题可以回滚到你标记的任何一个保存点

当你做DDL DCL的时候  默认你commit了  这个很重要

oracle  读slelect不等待写update insert   写也不等待读   

但是  写等待写  (会出现死锁现象)

转载请注明原文地址: https://www.6miu.com/read-49104.html

最新回复(0)