oracle查询用户所在表为空的表名

 

1 select * from user_tables  where num_rows = 0

查询之后发现查询的不全,查询之后发现num_rows为空

select * from user_tables  where nvl(num_rows,0) = 0

 这样就全部查询出来了

posted @ 2020-05-08 10:58  魔力的猪  阅读(1363)  评论(0编辑  收藏  举报