Oracle表中数据误删

1、查询删除的表数据
select * from AT_PP_WORKINSTRUCTION as of timestamp to_timestamp('2018-09-28 11:30:00', 'yyyy-mm-dd hh24:mi:ss') where Inst_Name_s like 'GL6%';
通过这个sql:select * from 删除数据的表名 as of timestamp to_timestamp('删除数据之前的时间点', 'yyyy-mm-dd hh24:mi:ss') 找到你删除之前的数据,然后加上删除的条件,例如where Inst_Name_s like 'GL6%' 找到删除的数据
2、将删除的表数据插回表中
insert into AT_PP_WORKINSTRUCTION (select * from AT_PP_WORKINSTRUCTION as of timestamp to_timestamp('2018-09-28 11:30:00', 'yyyy-mm-dd hh24:mi:ss') where Inst_Name_s like 'GL6%')

原文地址:https://www.cnblogs.com/dhc1995/p/15157826.html