- 我正在使用名为SYNONYM
的视图及其AREA
:Grant select on area to my_role; --this one gives the above error
Grant select on 'area' to my_role; --this gives other error
Grant select on "area" to my_role; --this gives the same error as 'area'
但是,当我尝试向我的角色授予选择权限时,我收到以下错误:
在面积上选择MY_ROLE
- 第1行的错误:ORA-02225:只有EXECUTE和DEBUG权限对程序有效
我没有使用手术,我该怎么办?
我试图使用以下拨款:
V_AREA
修改
我创建了2个名为AREA的同义词:一个在我的视图中OGC_AREA
,另一个在{{1}}。没有涉及的程序
答案 0 :(得分:-1)
使用此
为视图中使用的所有基表授予对用户的引用Grant references on your_schema.tablename to target_schema or user;