Oracle誤刪恢復
query deleted datarows:
select * from 表名 as of timestamp to_timestamp(
//Needs Auth [flash any table]
data table flashback:
alter table 表名 enable row movement;
//then
flashback table 表名 to timestamp to_timestamp(刪除時間點
database flashback:
alter database flashback on
flashback database to scn SCNNO;
flashback database to timestamp to_timestamp(
query droped tables;
select table_name
select object_name
restore droped table:
flashback table 原表名 to before drop
flashback table
不使用安全機制
drop table 表名 purge
刪除表
drop table emp cascade constraints
purge table emp;
刪除當前用戶的回收站:
purge recyclebin;
刪除所有用戶在回收站:
purge dba_recyclebin
From:http://tw.wingwit.com/Article/program/Oracle/201311/16620.html