`

在oracle中恢复一个表的数据到某个时点

阅读更多
在oracle中恢复一个表的数据到某个时点
有时候一不小心就将ORACLE表中某些数据删除,如想恢复可通过时间点方式进行

1、执行下列语句可查询出相关时间点
select * from sys.smon_scn_time order by time_dp desc;

2、执行下列语句可将某个时间点的数据恢复
insert into 表名 select * from 表名 as of scn 需要恢复的时间点
1
0
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics