1.用以下语句找出删除的数据:select * from 表名 as of timestamp to_timestamp('删除时间','yyyy-mm-dd hh24:mi:ss')
2.把删除的数据重新插入原表:
insert into 表名 (select * from 表名 as of timestamp to_timestamp('删除时间','yyyy-mm-dd hh24:mi:ss'));
注意要保证主键不重复。
1.用以下语句找出删除的数据:select * from 表名 as of timestamp to_timestamp('删除时间','yyyy-mm-dd hh24:mi:ss')
2.把删除的数据重新插入原表:
insert into 表名 (select * from 表名 as of timestamp to_timestamp('删除时间','yyyy-mm-dd hh24:mi:ss'));
注意要保证主键不重复。