ORACLE restores the data in the table to a certain point in time

Execute the following SQL to restore the data in the test_temp table to 2011 04 29 11:06:00
Note that all data must be deleted first, otherwise it may cause data duplication or create a new table with the same table structure as the test_temp structure, and import the data to the new table
delete from test_temp;
insert into test_temp
  select *
    from test_temp as of timestamp to_timestamp('20110429 11:06:00', 'yyyymmdd HH:mi:ss')
commit;

24-hour
  select *
    from cm_custom_sort as of timestamp to_timestamp('20160808 16:40:01', 'yyyymmdd hh24:mi:ss')

Attached: The data after truncate is unrecoverable
truncate table test_temp;

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326779207&siteId=291194637