码迷,mamicode.com
首页 > 数据库 > 详细

oracle 11g空表导不出问题

时间:2018-10-04 09:16:17      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:cat   select   user   lte   table   code   locate   use   语句   

查询空表

select table_name from user_tables where num_rows=0

生成分配空间的执行语句

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

复制出来执行即可。

oracle 11g空表导不出问题

标签:cat   select   user   lte   table   code   locate   use   语句   

原文地址:https://www.cnblogs.com/zjfjava/p/9739305.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!