豹房秘史,40e66a,沧州西站
1、-- 查询在xxxx-xx-xx xx:xx:xx执行update 语句之前的数据
select * from 表名 as of timestamp to_timestamp('xxxx-xx-xx xx:xx:xx', 'yyyy-mm-dd hh24:mi:ss');
2、-- 开启可移动数据命令,执行完就可以回滚数据
alter table 表名 enable row movement;
3、--正式回滚xxxx-xx-xx xx:xx:xx执行update 语句前的数据
flashback table 表名 to timestamp to_timestamp('xxxx-xx-xx xx:xx:xx'', 'yyyy-mm-dd hh24:mi:ss');
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
Oracle字符串函数length、upper、lower、initcap、 concat、instr、replace
网友评论