--只需发一次贴就够了 9i就引入了flashback query 技术,可以用基于 timestamp 的来恢复假设我在5 分钟前删除了A表中数据 1、先查询出当时的数据: select * from A as of timestamp sysdate-5/1440; 2、用Flashback Query恢复"误删"的数据: Insert into A select * from A as of timestamp to_timestamp('2011-02-12 17:10:00','YYYY-MM-DD hh24:mi:ss');
估计你删除的时间点date1select timestamp_to_scn(date1) from dual ;
--只需发一次贴就够了
9i就引入了flashback query 技术,可以用基于 timestamp 的来恢复假设我在5 分钟前删除了A表中数据
1、先查询出当时的数据:
select * from A as of timestamp sysdate-5/1440;
2、用Flashback Query恢复"误删"的数据:
Insert into A select * from A as of timestamp to_timestamp('2011-02-12 17:10:00','YYYY-MM-DD hh24:mi:ss');
flashback table tb to scn scnnum;