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!

revoking SELECT ANY DICTIONARY from public caused connections to the DB to hang

user9074881Sep 25 2013 — edited Sep 26 2013

I don't know why it occurred, but revoking SELECT ANY DICTIONARY from public caused connections to the DB to hang.

DECLARE

BEGIN

     FOR l IN (select privilege from dba_sys_privs where privilege in ('SELECT ANY DICTIONARY') and grantee='PUBLIC')

     LOOP

           EXECUTE IMMEDIATE 'REVOKE '||l.privilege||' FROM PUBLIC';

     END LOOP;

END;

/

Any insight into the problem would be appreciated.

Thank you

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 24 2013
Added on Sep 25 2013
16 comments
3,233 views