189 8069 5689

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查看两个用户的表是否一样多
文章URL:http://jkwzsj.com/article/ighses.html

其他资讯