在执行了update后,发现更新全表了,然后网上冲浪发现解决办法 oracle 有一个闪回功能 。
select * from 表名 as of timestamp to_timestamp('2023-01-11 12:00:00', 'yyyy-mm-dd hh24:mi:ss');
alter table 表名 enable row movement;
flashback table 表名 to timestamp TO_TIMESTAMP('2023-01-11 12:00:00', 'yyyy-mm-dd hh24:mi:ss');
alter table 表名 disable row movement;