日期:2014-05-17  浏览次数:20713 次

将对象权限赋予角色时可以使用 with grant option 吗?
将对象权限赋予角色时可以使用 with grant option 吗?
 grant select,insert,update on class.stud_grade to tech_role with grant option
*
第 1 行出现错误:
ORA-01926: 无法将 WITH GRANT OPTION GRANT 角色
其中tech_role是角色。

另外:
SQL> grant tech_role to tech with grant option;
grant tech_role to tech with grant option
  *
第 1 行出现错误:
ORA-01939: 只能指定 ADMIN OPTION
tech_role 是角色
tech是用户。

如果我想将对象权限赋予角色,并且可以传递,如何解决呢?



------解决方案--------------------
探讨
1楼
u1gp是用户还是角色?