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: ORA-01031: insufficient privileges

Re: ORA-01031: insufficient privileges

From: Brian Peasland <dba_at_nospam.peasland.net>
Date: Tue, 14 Aug 2007 16:23:27 -0500
Message-ID: <46c21139$0$16339$88260bb3@free.teranews.com>


Eugene wrote:
> Hi all,
> Oracle 9.2.0.5. on Win2K3.
> 1. I loged in as user A and created a view my_view.
> 2. I loged in as user B and created a synonym for A.my_view.
> 3. Then I loged in as user A and granted Select on my_view to user B.
> 4. When I login as B and issue: Select * from my_view I am getting
> ORA-01031: insufficient privileges.
>
> Why? What can I check?
>
> Thanks,
> Eugene
>

Grant SELECT privs on the view's underlying table(s) to USER_B.

HTH,
Brian

-- 
===================================================================

Brian Peasland
dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown

-- 
Posted via a free Usenet account from http://www.teranews.com
Received on Tue Aug 14 2007 - 16:23:27 CDT

Original text of this message

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