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查看两个用户的表是否一样多
当前地址:http://cdxtjz.cn/article/ighses.html

其他资讯