首页 > 代码库 > Oracle 11g用exp无法导出空表的处理方法

Oracle 11g用exp无法导出空表的处理方法

Oracle 11g用exp无法导出空表的处理方法

在PLSQL Dev中执行以下SQL查询:

select alter table ||table_name|| allocate extent; from user_tables where num_rows=0

然后将结果拷贝出来再执行后就可以导出Oracle11g中的空表了。

alter table T_ANALY_ITEM_ITEM allocate extent;alter table T_ANALY_PROCE_INOUT_OBJ allocate extent;alter table T_ANALY_PROCE_PROCE allocate extent;alter table T_DATA_BUSI_TABLE allocate extent;alter table T_EDU_MOOC_ACTION allocate extent;alter table T_EDU_MOOC_ACTION_MEMBER allocate extent;alter table T_EDU_MOOC_ACT_REF_COUR allocate extent;alter table T_EDU_MOOC_COURSE_MEDIA allocate extent;alter table T_EDU_MOOC_COURSE_ROAD allocate extent;alter table T_EDU_MOOC_CREDENTIALS allocate extent;alter table T_INTER_LOG allocate extent;alter table T_PROC_BUSI_SERV allocate extent;alter table T_QLDI_ADAPTER_CONF allocate extent;alter table T_QLDI_ADAPTER_DEFI allocate extent;alter table T_QLDI_CENTER allocate extent;alter table T_QLDI_CONF_VAL allocate extent;alter table T_QLDI_DEST_MAP allocate extent;alter table T_QLDI_DEST_MAP_PROP allocate extent;alter table T_QLDI_MESS_AUTH allocate extent;alter table T_QLDI_MESS_DESTINATION allocate extent;alter table T_QLDI_MESS_DETAIL allocate extent;alter table T_QLDI_MESS_ROUTE allocate extent;alter table T_QLDI_REQUEST allocate extent;alter table T_QLDI_SYS_JNDI allocate extent;alter table T_QLDI_TIMER allocate extent;alter table T_QL_DATA_LOG allocate extent;alter table T_SERVICE_LOG allocate extent;alter table T_SERVICE_USER allocate extent;alter table T_SERVICE_WEB_PWD allocate extent;alter table T_SYS_APP_SSO allocate extent;alter table T_SYS_AREA_HIS allocate extent;alter table T_SYS_BUSI_CATE_REF allocate extent;alter table T_SYS_FILE_TYPE allocate extent;alter table T_SYS_RULE_DEF allocate extent;alter table T_SYS_RULE_REF allocate extent;alter table T_SYS_USER_ORG allocate extent;alter table T_WEB_INFO_AUTH allocate extent;alter table T_WEB_INFO_READER allocate extent;alter table T_WEB_INFO_REF_INFO allocate extent;

Oracle 11g用exp无法导出空表的处理方法