oracle exp命令导不出空表

1、  先查询一下当前用户下的所有空表 

      select table_name from user_tables where NUM_ROWS=0 or  NUM_ROWS is null;

2、用以下这句查找空表 

      select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 or  NUM_ROWS is null;

3、执行查询结果中的语句

再执行exp命令就可以把空表导出来了



转载至http://vondon.iteye.com/blog/1316223

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章