我正在尝试向用户授予角色。
grant my_role_1 to ktest1 with admin option;
但是我收到以下错误
Error report - ORA-01932: ADMIN option not granted for role 'my_role_1'
01932. 00000 - "ADMIN option not granted for role '%s'
*Cause: The operation requires the admin option on the role.
*Action: Obtain the grant option and re-try.
答案 0 :(得分:1)
要授予角色,您必须已被授予
ADMIN OPTION
的角色或已被授予GRANT ANY ROLE
系统特权,或者您必须已经创建了角色。