Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Object privileges. Who is grantor ?

599201Aug 19 2009 — edited Aug 19 2009
Good day.
Please explain the next issue
SQL> conn /as sysdba
Connected.
SQL> create user test identified by test;

User created.

SQL> create user test1 identified by test;

User created.

SQL> grant resource, connect to test;

Grant succeeded.

SQL> conn test
Enter password:
Connected.
SQL> create table t (x number);

Table created.

SQL> grant select on t to test1;

Grant succeeded.

SQL> conn /as sysdba
Connected.

SQL> grant select on test.t to scott;

Grant succeeded.

--########################---
SQL> select * from dba_tab_privs where table_name='T';

GRANTEE    OWNER      TABLE_NAME GRANTOR    PRIVILEGE            GRA HIE
---------- ---------- ---------- ---------- -------------------- --- ---
SCOTT      TEST       T          TEST       SELECT               NO  NO
TEST1      TEST       T          TEST       SELECT               NO  NO

SQL>
suppose that what has been above --########################--- - a black box.
How do you determine who is issued a grant???
This post has been answered by unknown-698157 on Aug 19 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2009
Added on Aug 19 2009
8 comments
7,275 views