oracle误删除数据恢复

  1. 查找对应删除的时间点
    select * from v$sql where sql_text like '%test_table%';

  2. 使用时间来回复指定的表数据
    insert into test_table
    select * from test_table as of timestamp to_timestamp('2022-11-30/11:00:47','yyyy-mm-dd hh24:mi:ss')
    where rownum<10000

posted @ 2022-11-30 11:28  Hey,Coder!  阅读(31)  评论(0编辑  收藏  举报