1.drop 表
drop table test.table1
表已删除
flashback table test.table1 before drop
闪回完成。
2.删除行
select * from test.table1
where stu_id=50 and class_id=4
delete from test.table1
where stu_id=50 and class_id=4
flashback table yaotf.tf2000 to timestamp systimestamp - interval '15' minute
第 1 行出现错误:
ORA-08189: 因为未启用行移动功能, 不能闪回表
alter table test.table1enable row movement
flashback table yaotf.tf2000 to timestamp systimestamp - interval '15' minute
闪回完成。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7353848/viewspace-270247/ ,如需转载,请注明出处,否则将追究法律责任。