oracle恢復誤刪數據

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

數據恢復完畢

發佈了25 篇原創文章 · 獲贊 5 · 訪問量 3萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章