解決方案的文章:
http://wenku.baidu.com/view/7beb56f57c1cfad6195fa702.html
最後我們採取了第三種:
用SQL拼接一個語句: select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0;
:
alter table BUSEXTINFO allocate extent;
alter table BUSCHECKINFO allocate extent;
alter table HOMEMEMBER allocate extent;
alter table BUSASSEMBLYINFO allocate extent;
alter table BUSASSEMBLYHISTORY allocate extent;
alter table ASGNEMPDUTYPLUS allocate extent;
alter table JX_MAINTAINPEOPLELD allocate extent;
alter table MCBUSOILSTANDARDGS allocate extent;
alter table MCBUSOILSTDDETAILDGS allocate extent;
alter table FDISARRSEQUENCETIMELD allocate extent;
alter table FDISARRSEQUENCETMPLD allocate extent;
.......
最後執把這些語句執行一遍就OK了!