公司AAA:
用户U1 表 T1,T2
用户U2 表 T3
用户U1 里创建 view V1(T1,T2,U2.T3)
用户U1 里创建 view V2(T1,T2)
用户U3 把 U1的V1的select权限付给U3
select * from U3.V1; 报权限不足错误
select*from U3.V2 不报错
为什么呢???
------解决方案--------------------
进入U2,授权T3给U1时增加参数
grant select on T3 to U1 with grant option;
然后再连接U1,授权V1给U3
grant select on V1 to U3;