以下是网上的一段话“
查询undo_retention参数
该参数保存了回滚段数据保存的秒时间,超过该时间则无法闪回。默认为15分钟
修改该参数 alter system set undo_retention=3600;
”
create table testtable ( CAR_STATION_ID VARCHAR2(255) not null, NAME NVARCHAR2(500), TAX_CODE VARCHAR2(255), INDEX_ID INTEGER ) select * from testtable drop table testtable --闪回表 flashback table testtable to before drop;
注:truncate table testtable中的truncate方式是直接释放资源不进入回收站,相当于windows的直接删除。