我试图在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
如果两个角色都存在,为什么我会收到错误?