oracle >>误删除数据之后,恢复数据

1:确定登录的用户有flash any table权限

--开启行移动功能 
 alter table 表名 enable row movement;

--恢复表数据
 flashback table 表名 to timestamp to_timestamp('删除时间点','yyyy-mm-dd hh24:mi:ss');

--关闭行移动功能 ( 千万别忘记 )
 alter table 表名 disable row movement;

posted @ 2020-03-05 17:28  冷霜  阅读(170)  评论(0)    收藏  举报