oracle 誤刪數據操作,注意喔:數據刪除不小心commit了怎麼辦呢?
1 、select * from test t
2、delete test
3、select * from test t --並且commit
4 select * from test as of timestamp to_date('2012-08-29 19:49:00', 'yyyy-mm-dd hh24:mi:ss')
找到test在'2012-08-29 19:49:00'這個時間點的所有數據(數據快照)。
5、select * from test
數據恢復完畢