当前位置:Gxlcms > 数据库问题 > Oracle 11g导出空表、少表的解决办法

Oracle 11g导出空表、少表的解决办法

时间:2021-07-01 10:21:17 帮助过:17人阅读

  然后用一下SQL语句执行查询

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

  假设我们这里有空表TBL_1,TBL_2,TBL_3,TBL_4,则查询结果如下:

alter table TBL_1 allocate extent;
alter table TBL_2 allocate extent;
alter table TBL_3 allocate extent;
alter table TBL_4 allocate extent;

  最后我们把上面的SQL语句执行就可以了。

Oracle 11g导出空表、少表的解决办法

标签:select   col   class   sel   用户   处理   11g   假设   bsp   

人气教程排行