ORA-28024: must revoke grants of external roles to this role/user ORACLE 报错 故障修复 远程处理

文档解释

ORA-28024: must revoke grants of external roles to this role/user

Cause: The user or role altered to IDENTIFIED GLOBALLY has external roles directly granted – these must be revoked, since external roles cannot be granted to global users or roles.

Action: Use REVOKE to revoke the external roles from the user or role to be ALTERed.

ORA-28024: 当一个角色/用户试图被授予被其他角色/用户授予的 外部角色时,将会抛出此错误。

官方解释

常见案例

一般处理方法及步骤

1)查询该用户授予了哪些外部角色。

SELECT * FROM dba_role_privs WHERE granted_role LIKE ‘%EXTERNAL%’ AND grantee = ‘用户名’;

2)撤掉这些外部角色授予

REVOKE 外部角色 FROM 用户名;

3)重试授予新角色

GRANT 角色 TO 用户名;

香港美国云服务器首选树叶云,2H2G首月10元开通。
树叶云(shuyeidc.com)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。

文章来源网络,作者:管理,如若转载,请注明出处:https://shuyeidc.com/wp/264126.html<

(0)
管理的头像管理
上一篇2025-05-04 21:30
下一篇 2025-05-04 21:31

相关推荐

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注