Oracle查询出所有空表,
1.分析所有表
select 'analyze table '||table_name||' compute statistics;' from user_tables;

copy出来执行。。。。更新user_tables的num_rows

2.
select * FROM user_tables WHERE NUM_ROWS =0 ;

http://www.htsjk.com/oracle/42387.html
www.htsjk.Com
true
http://www.htsjk.com/oracle/42387.html
NewsArticle
Oracle查询出所有空表, 1.分析所有表 select 'analyze table '||table_name||' compute statistics;' from user_tables; copy出来执行。。。。更新user_tables的num_rows 2. select * FROM user_tables WHERE NUM_ROWS =0 ;...
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。