Oracle误删数据回复
时间:2021-09-05 20:07:59
收藏:0
阅读:24
Oracle误删数据恢复
1、查指定时间段对应表的数据
select * from 表名
as of timestamp to_timestamp(‘2021-09-04 09:44:00‘, ‘yyyy-MM-dd hh24:mi:ss‘)
2、开启闪回功能
alter table 表名 enable row movement
3、恢复数据
flashback table 表名
to timestamp TO_TIMESTAMP(‘2021-09-04 09:44:00‘, ‘yyyy-MM-dd hh24:mi:ss‘)
4、关闭闪回
alter table 表名 disable row movement
原文:https://www.cnblogs.com/zmxnb/p/15225889.html
评论(0)