全部版块 我的主页
论坛 站务区 十一区 新手入门区
277 0
2024-03-17

数据量多的时候,采用如下方法:

1、select * from V$SQL where SQL_TEXT like '%update MAP_OPTCBL_POINT_70 set shape%'--查出你需要恢复的时间点

2、create table t_table_recove --新的表as select * from MAP_OPTCBL_POINT_70 --你误操作的表as of timestamp to_timestamp('2013-09-23 11:38:46','yyyy-mm-dd hh24:mi:ss');--时间点--得到你想要的数据

3、delete MAP_OPTCBL_POINT_70;--将原表的数据全部删除

4、insert into MAP_OPTCBL_POINT_70 select * from t_table_recove;--恢复数据

数据量少可以直接查询1.select * from table as of timestamp to_timestamp('2014-10-16 16:24:00', 'yyyy-mm-dd hh24:mi:ss');


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群