网站建设资讯

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://njwzjz.com/article/ighses.html