Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: [Q] Script to generate "grant privilege" on a table?
select 'grant '||privilege||' to '|| grantee ||' on '||table_name||';' from dba_tab_privs where owner = 'BUBBA';
Note that this will get everything owned by BUBBA: tables, procedures, packages, views, sequences.
> -----Original Message-----
>
> Does anyone has script which can check "grant
> privilege" on a table and generate output for future
> usage?
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Stephen Lee INET: [EMAIL PROTECTED] Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Fri Jun 20 2003 - 10:07:02 CDT