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: Granting SELECT permissions to a user based

RE: Granting SELECT permissions to a user based

From: Gurgaon, DBA (CAP, GECSI, CONTRACTOR) <DBA.Gurgaon_at_geind.GE.com>
Date: Mon, 29 May 2000 18:01:35 +0530
Message-Id: <10512.107022@fatcity.com>


Do one thing.
run this script in user MAIN.

spool C:\main.sql
select 'grant select on '||tname||' to U;' from tab; spool off

after this edit C:\main.sql accordingly. run it from MAIN user
@c:\main.sql

this will grant select permission on all tables of MAIN to U.

Vikas
-----Original Message-----
From: Andreas Jung [mailto:ajung_at_sz-sb.de] Sent: Monday, May 29, 2000 4:17 PM
To: Multiple recipients of list ORACLE-L Subject: Granting SELECT permissions to a user based

Dear all,

I have a schema MAIN that holds all my tables. I want to create a user U that should have only SELECT permissions on the complete schema MAIN. How can I grant these permissions to the user without granting SELECT permission on every table of MAIN.* ?

Andreas

-- 
Author: Andreas Jung
  INET: ajung_at_sz-sb.de

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 Mon May 29 2000 - 07:31:35 CDT

Original text of this message

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