天天看点

oracle学习26-误删表数据和误删表回滚

14.误删除表中数据并提交(delete+commit)

select * from  med_dept_dict as of timestamp sysdate - 1/1440      

描述:其中med_dept_dict 为误删除数据的表 sysdate - 10/1440 表示查询10分钟之前数据

注意:数据来源是查询undo中的撤销数据  参数undo_retention=900  默认15分钟

15.误删除表(drop table) 前提: recyclebin = no (此为默认值) drop掉对象查询 select * from recyclebin; flashback table med_dept_dict to before drop