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 Any Table

Re: Granting Select Any Table

From: Rachel Carmichael <carmichr_at_hotmail.com>
Date: Thu, 14 Dec 2000 20:09:13 -0000
Message-Id: <10710.124619@fatcity.com>


that grants select to any table of ANY user.....

if you want to grant select any table of a particular user you will have to grant the select on each individual table.

As the owner of the tables:

set term off echo off pagesize 0 trimspool off select 'grant select on '||table_name||' to <other user>;' from user_tables

spool grants.sql
/
spool off
exit

then run grants.sql

>From: "Ruth Gramolini" <rgramolini_at_tax.state.vt.us>
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: Re: Granting Select Any Table
>Date: Thu, 14 Dec 2000 10:57:11 -0800
>
>grant select any table to your_user;
>
>This works,
>Ruth
>----- Original Message -----
>To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
>Sent: Thursday, December 14, 2000 12:44 PM
>
>
> > Hi folks,
> >
> > Does anyone know the best way to grant a user select any table of
>another
> > users tables?
> >
> > Thanks in advance
> >
> > Larry
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Larry Taylor
> > INET: ltaylor_at_iq.com
> >
> > 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).
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Ruth Gramolini
> INET: rgramolini_at_tax.state.vt.us
>
>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).



Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com Received on Thu Dec 14 2000 - 14:09:13 CST

Original text of this message

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