呼~今天真是吓死我了,把公司的工资数据差点删光,多话不说,直接上代码
//这句话用于查询为删除数据的时间
select * from (表名) as of timestamp to_timestamp('你想看的时间','YYYY-MM-DD HH24:MI:SS')
如果查到了你要的时间,开始回调数据
flashback table 表名 to timestamp to_timestamp('你要的时间','yyyy-mm-dd hh24:mi:ss');
如果出现不能移动表的提示:
ALTER TABLE 表名 ENABLE row movement ;运行一下
然后commit就好了