Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> AW: newbie question about roles.
You can create a script which generates the needed sql:
select 'grant select, insert, update delete on '||TABLE_NAME||' to
Your_ROLE;'=20
from dba_tables where owner=3D'schema';
Volker Sch=F6n
E-Mail: mailto:v.schoen_at_inplan.de
http://www.inplan.de
-----Urspr=FCngliche Nachricht-----
Von: John Dunn [mailto:john.dunn_at_sefas.co.uk]
Gesendet: Freitag, 4. August 2000 11:56
An: Multiple recipients of list ORACLE-L
Betreff: newbie question about roles.
I want to be able to grant insert, updates etc privileges on my schemas tables to new users. Presumably a role is the best way to do this.
But when I create the role do I need to grant the privileges =
individually on
each table. Is there any way to effectively say..."grant update on all
tables owned by a schema"?=20
John
--=20
Author: John Dunn
INET: john.dunn_at_sefas.co.uk
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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 Aug 04 2000 - 04:34:58 CDT