oracle 误删除表/表中数据,恢复方法


步骤:

1.查询删除时间点之前的数据,确认好时间点

select * from TEST as of timestamp to_timestamp('2021-12-08 17:00:00', 'yyyy-mm-dd hh24:mi:ss');

2.开启行移动
alter table TEST enable row movement;

3.数据恢复到那个时间点
flashback table TEST to timestamp to_timestamp('2021-12-08 17:00:00','yyyy-mm-dd hh24:mi:ss');

4.关闭行移动
alter table TEST disable row movement

 

参考路径:https://blog.csdn.net/weixin_41364238/article/details/109029803


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM