oracle EXP 导出空表的方法

 

Oracle Exp 导出默认只会将有数据的导出,要导出空表的话可以先把下面查询出来的语句,执行后,再进行导出

 

select 'alter table '||owner||'.'||table_name||' allocate extent;' from dba_tables t where T.SEGMENT_CREATED='NO' AND t.OWNER like '%???%' order by t.OWNER;

 

你可能感兴趣的:(oracle EXP 导出空表的方法)