Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: [Q] way to re-gernerate ROLE privilege ?

Re: [Q] way to re-gernerate ROLE privilege ?

From: Thomas Day <tomday2_at_gmail.com>
Date: Tue, 10 May 2005 08:43:45 -0400
Message-ID: <a8c5045905051005434f08660@mail.gmail.com>


If you just need the table privs for the role, this will do. Give it the role name.

SELECT 'GRANT '||privilege||' on '||owner||'.'||TABLE_NAME||' TO '||grantee= ||
=09decode(grantable,'YES',' with grant option;',';')
=09FROM dba_tab_privs

      WHERE grantee=3Dupper('&&1')

--
http://www.freelists.org/webpage/oracle-l
Received on Tue May 10 2005 - 08:48:22 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US