How to restore oracle data to previous data after update

1. select FIRST_LOAD_TIME from V$SQL where SQL_TEXT like '%update MAP_OPTCBL_POINT_70 set shape%'--find out the time point you need to restore

2、

create table t_table_recove -- new table

as select * from MAP_OPTCBL_POINT_70 -- the table you mishandled

as of timestamp to_timestamp('2013-09-23 11:38:46','yyyy-mm-dd hh24:mi:ss');--time point

-- get the data you want

3. delete MAP_OPTCBL_POINT_70;--delete all the data in the original table

4. insert into MAP_OPTCBL_POINT_70 select * from t_table_recove;--recover data

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326070482&siteId=291194637