using flashback 应对表删除误操作
上一篇 /
下一篇 2008-05-16 18:12:18
/ 个人分类:ORACLE
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
闪回完成。
导入论坛
引用链接
收藏
分享给好友
推荐到圈子
管理
举报
TAG: