ORA-41604: cannot revoke a privilege that was not granted

文档解释

ORA-41604: cannot revoke a privilege that was not granted

Cause: An attempt was made to revoke a privilege that was never granted.

Action: None

ORA-41604错误代表着不能撤销一个没有被授予的权限。

官方解释

常见案例

一般处理方法及步骤

1.检查用户是否已经给角色授予权限。

2.检查用户是否使用正确的GRANT或REVOKE语句,正确的语句形式为:GRANT/REVOKE [OBJECT TYPE] ON [OBJECT NAME] TO [USER]。

3.尝试修改GRANT/REVOKE语句,确保用户使用正确的语句格式,并且权限授予或撤销正确。

你可能感兴趣的