Grant Connect和Resource无法正常工作

时间:2013-12-02 20:01:37

标签: oracle grant

我试图在Oracle中授予Connect和Resource,但我收到一条错误消息,指出该角色不存在:

SQL> grant connect to MY_SCHEMA;
grant connect to MY_SCHEMA
*
ERROR at line 1:
ORA-01919: role 'CONNECT' does not exist

但是,我检查角色并且它们存在:

SQL> select role from dba_roles;

ROLE
------------------------------
CONNECT
RESOURCE

如果两个角色都存在,为什么我会收到错误?

0 个答案:

没有答案