Loading

oracle数据库闪回执行步骤——oracle数据库回退

1.查询之前某一时间的数据信息

select * from bt_mb_new as of timestamp to_timestamp('2020-11-28 20:00:00','yyyy-mm-dd hh24:mi:ss');  
bt_mb_new :表名 
2020-11-28 20:00:00 :要回退到的时间

2.启用行移动功能

alter table bt_mb_new enable row movement;

3.执行闪回语句

flashback table bt_mb_new to timestamp to_timestamp('2020-11-28 20:00:00','yyyy-mm-dd hh24:mi:ss');

 

posted @ 2020-11-28 21:40  李旭2018  阅读(785)  评论(0编辑  收藏  举报