oracle exp 無法導出空表


oracle exp 無法導出空表

 

select 'alter table '|| a.table_name ||' allocate extent;' from user_tables a where a.table_name not in (select segment_name from user_segments where segment_type = 'TABLE');

 

執行查出的sql語句,再導出dmp,就能導出空表了。

Oracle 11g無法導出空表的處理方法

在SQL窗口(SQL Window)中 執行以下SQL

 

SQL> select 'alter table '||table_name||' allocate extent;' from user_tables where initial_extent is NULL

將復制查詢結果放置到SQL窗口(SQL Windows)中執行


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM