网站建设资讯

NEWS

网站建设资讯

oracle查看两个用户的表是否一样多

查看两个用户的表是否一样多,用户名要大写
select count(a.table_name),count(b.table_name) from
(select table_name from all_all_tables where owner='ZBWEB') a
left join
(select table_name from all_all_tables where owner='ZBWEBTEST') b
on a.table_name = b.table_name

当前文章:oracle查看两个用户的表是否一样多
新闻来源:http://cdweb.net/article/ighses.html