oracle 查询数据库中 有数据的表

select table_name from ALL_TABLES where TABLESPACE_NAME='xxx' and NUM_ROWS > 0 order by  table_name asc;

原文地址:https://www.cnblogs.com/kakaisgood/p/7944089.html