Oracle数据库回滚
1、 – 查询你执行update 语句之前的数据 精确到什么时间select * from 表名 as of timestamp to_timestamp(‘2017-07-21 17:16:38’, ‘yyyy-mm-dd hh24:mi:ss’);2、 – 开启可移动数据命令,执行完就可以回滚数据alter table 表名 enable row movement;3、 --正式回滚 update 语句前的数据flashback table 表名 to timestamp TO_TIMESTA
转载
2020-06-24 11:26:14 ·
1125 阅读 ·
0 评论