oracle数据库更新操作如何恢复

1.查询视图v$sqlarea,找到你操作那条SQL的时间

select r.FIRST_LOAD_TIME,r.* from v$sqlarea r order by r.FIRST_LOAD_TIME desc ;

 

数据恢复

alter table lf_ctrl_module enable row movement;
flashback table lf_ctrl_module to timestamp to_timestamp('2022-04-18/15:09:59', 'yyyy-mm-dd hh24:mi:ss');
alter table lf_ctrl_module disable row movement

posted @ 2022-04-18 15:26  今天又下小雨  阅读(178)  评论(0编辑  收藏  举报