1、在plsql中打开命令窗口:
执行sql语句:
select ‘alter table ‘||table_name||’ allocate extent;’ from user_tables where num_rows=0;
执行完毕会出现:

2、执行sql:
alter table UM_USERROLE allocate extent;
alter table UM_USERSECURITYQUESTION allocate extent;
alter table UM_USERSYNCHRONOUS allocate extent;
3、找到Export Tables选中要导出来的表直接导出即可:

这样数据库中的空表也可以导出来了。
本文介绍了一种在PLSQL中导出空表的方法,首先通过执行特定SQL语句来分配扩展空间,然后利用ExportTables功能直接导出空表。此方法解决了数据库中空表无法正常导出的问题。
1230

被折叠的 条评论
为什么被折叠?



