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)中执行

原文地址:https://www.cnblogs.com/antis/p/10345779.html