美文网首页
oracle使用timestamp将数据还原到指定时间点

oracle使用timestamp将数据还原到指定时间点

作者: Toplhyi | 来源:发表于2019-02-13 16:30 被阅读0次

误删数据怎么办?

//查询还原时间点数据
select * from table_name as of timestamp to_timestamp('2018-03-27 15:40:00','yyyy-mm-dd hh24:mi:ss');
//还原数据
flashback table table_name to timestamp to_timestamp('2018-03-27 15:40:00','yyyy-mm-dd hh24:mi:ss');

相关文章

网友评论

      本文标题:oracle使用timestamp将数据还原到指定时间点

      本文链接:https://www.haomeiwen.com/subject/iqvkeqtx.html