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

Home -> Community -> Usenet -> c.d.o.misc -> Re: schema privileges

Re: schema privileges

From: sybrandb <sybrandb_at_gmail.com>
Date: 8 Aug 2006 01:09:28 -0700
Message-ID: <1155024568.547476.34150@p79g2000cwp.googlegroups.com>

javier.ayuso_at_gmail.com wrote:
> Hi,
>
> I need to make queries from one schema to others without having to add
> that other schema as prefix in the select order, and I have heared that
> I need to grant select privileges to my user on the other schemas,
>
> is this right? and if so, how is it done?
>
> thanks!
> Javier

It is partly right.
You need to grant select (look up 'grant object privileges' in the sql reference manual)
[this will make sure you can select * from scott.emp at all] and
to create a synonym for the affected table (look up 'create synonym' in the same manual)
[ this will make sure you can select * from emp, as if it were your own table}

-- 
Sybrand Bakker
Senior Oracle DBA
Received on Tue Aug 08 2006 - 03:09:28 CDT

Original text of this message

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