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

Home -> Community -> Usenet -> c.d.o.server -> Re: How to grant select privilages to all tables in another schema without granting "select any table to..."

Re: How to grant select privilages to all tables in another schema without granting "select any table to..."

From: Mark <mzquincey_at_hotmail.com>
Date: Thu, 09 May 2002 21:15:24 GMT
Message-ID: <MFBC8.276$lt.8426695@newssvr17.news.prodigy.com>


Hi Daniel,

Thank you for the response. I apologize for submitting the question twice. An error occured which led me to believe that my original inquiry had failed to submit.

Mark

"Daniel Morgan" <dmorgan_at_exesolutions.com> wrote in message news:3CDAD1BE.99EC2009_at_exesolutions.com...
> Mark wrote:
>
> > How can I grant, for example, select privilages to a user on all tables
or
> > other objects that exist in another schema. However, I do not want to
grant
> > select permission to tables residing in other schemas that exist in the
> > database. How can I enable this access without writing grant statements
for
> > each object in the schema in question?
> >
> > Thank you ahead of time,
> > Mark
>
> Why did you feel compelled to ask the exact same question twice using
different
> verbiage within a four minute period?
>
> The answer is the same ... you can not.
>
> The solution is to write a small anonymous block or stored procedure to
perform
> the assignments based on the table_name column in user_tables.
>
> Daniel Morgan
>
Received on Thu May 09 2002 - 16:15:24 CDT

Original text of this message

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