-- 开启行移动功能
alter table 表名 enable row movement;
-- 查询删除前的数据
select * from 表名 as of timestamp to_timestamp('删除时间点','yyyy-mm-dd hh24:mi:ss');
-- 恢复数据
flashback table 表名 to timestamp to_timestamp('删除时间点','yyyy-mm-dd hh24:mi:ss');
-- 关闭行移动功能
alter table 表名 disable row movement;
Oracle 恢复delete误删数据
最新推荐文章于 2022-05-06 15:51:43 发布