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