create or replace view vcompany
as
select d.dist_id CompanyCode,d.name_c namec,d.name_e namee from cs.distributor_master
其中cs是另外一个user,这样view在创建的时候会说没有足够的权限。
请问我应该给什么样的权限?现在current user的权限如下:
grant connect to CURRENTUSER;
grant dba to CURRENTUSERwith admin option;
grant unlimited tablespace to CURRENTUSERwith admin option;
as
select d.dist_id CompanyCode,d.name_c namec,d.name_e namee from cs.distributor_master
其中cs是另外一个user,这样view在创建的时候会说没有足够的权限。
请问我应该给什么样的权限?现在current user的权限如下:
grant connect to CURRENTUSER;
grant dba to CURRENTUSERwith admin option;
grant unlimited tablespace to CURRENTUSERwith admin option;
我又把cs.distributor_master的select权限给当前用户了。还是不行