【发布时间】:2018-07-06 09:29:15
【问题描述】:
Oracle - 向角色授予 Create Job 权限
Login user = JOEL
User JOEL got error "ORA-27486: insufficient privileges ORA-06512: at
"SYS.DBMS_ISCHED", line 124 ORA-06512: at "SYS.DBMS_SCHEDULER", line 271 ORA-
06512: at line 1"
要解决上述错误,请授予 JOEL 以下权限: 将 Create Job 授予 JOEL; 备注:通过将 Create Job 授予 JOEL,解决了上述错误。
But, instead of granting "Create Job" directly to user JOEL, grant the
privilege by ROLE as follow:
Create Role Job_Role;
Grant Create Job to Job_Role;
Grant Job_Role to JOEL;
Remarks: User JOEL got the same error even granted with Job_Role
我可以知道为什么授予角色不起作用吗? 谢谢。
【问题讨论】:
-
欢迎来到 Stack Overflow!您可以编辑您的帖子并添加导致您收到错误消息的 SQL 语句吗?
-
另外请显示导致错误的语句是在匿名 PL/SQL 块内还是在存储过程内运行。
标签: oracle