zbb20170606 oracle 查看空表
生活随笔
收集整理的這篇文章主要介紹了
zbb20170606 oracle 查看空表
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
select table_name ,NUM_ROWS from user_tables where NUM_ROWS=0 or NUM_ROWS is null ;
select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 or NUM_ROWS is null
?
轉載于:https://www.cnblogs.com/super-admin/p/6952103.html
總結
以上是生活随笔為你收集整理的zbb20170606 oracle 查看空表的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python_day6 shutil模块
- 下一篇: 套接口学习(一)实现