Oracle系列(一): Oracle数据恢复

 Oracle数据恢复

在使用Oracle的时候,突然一部小心update或者delete全部数据后怎么办?

select * from table as of timestamp to_timestamp('2017-06-26 16:01:01','yyyy-mm-dd hh24:mi:ss');
alter table table enable row movement;
flashback table table to timestamp to_timestamp('2017-06-26 16:01:01','yyyy-mm-dd hh24:mi:ss');

执行以上代码既可将代码恢复到2017-06-26 16:01:01这个时间点

posted @ 2017-06-29 09:57  你的路人甲  阅读(152)  评论(0编辑  收藏  举报