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

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