oracle 表回退

1.查询某一时刻的该表的状态

select * from 表名 as of timestamp to_timestamp('2020-10-20 16:47:00', 'yyyy-mm-dd hh24:

2.开启表回退(闪回)

alter table 表名 enable row movement;

3.回退到某一时间点

select * from 表名 as of timestamp to_timestamp('2020-10-20 16:47:00', 'yyyy-mm-dd hh24:mi:ss');

4.关闭表回退(闪回)

alter table 表名 disable row movement;

posted @ 2020-10-20 17:14  微风微风  阅读(1168)  评论(0编辑  收藏  举报