1
爲什麼我獲得ORA-01952:系統權限未授予'ROJIB'?ORA-01952:系統權限未授予'ROJIB
創建角色:
SQL> create role security;
Role created.
,然後創建津貼爲角色 '安全':
SQL> grant create table,create view to security;
Grant succeeded.
授予用戶:
後SQL> grant security to rojib;
Grant succeeded.
在撤銷,我得到的錯誤:
SQL> revoke create table from rojib;
revoke create table from rojib
*
ERROR at line 1:
ORA-01952: system privileges not granted to 'ROJIB'
當您試圖從用戶撤銷特權而不是從角色中撤銷特權時,您已通過角色授予用戶特權。 –