oracle 11g空表导不出问题

查询空表

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

复制出来执行即可。

posted @ 2018-10-03 10:29  雪山上的蒲公英  阅读(204)  评论(0编辑  收藏  举报
/* 返回顶部代码 */