Newsgroups: comp.databases.oracle.server
Date: 12 Jul 2006 10:36:20 -0700
Local: Wed 12 July 2006 18:36
Subject: Re: insufficient priviliges
newbie wrote: You use the user 'abc' to grant privileges on the objects OWNED by > I have a schema called 'abc' > I do not know the password for the user 'abc' > I know the password for the user 'sys' and user 'system' > I tried the following when logged in as user 'sys' as sysdba and user > select * from abc.pqr where 'pqr' is a table in schema 'abc' > I get the result > However If I create another user 'test' and try the following > ORA-00942: table or view does not exist > I tried the following when I am logged in as user 'sys' as sysdba or > grant select on abc.pqr to test; > The following is the error message > ORA-01031: insufficient privileges > How do I resolve this...Please help 'abc'. It's that simple. Possibly you created this 'abc' user to test things; since you DO have access as SYS as SYSDBA you can CHANGE the password for 'abc': SQL> alter user abc identified by somepasswordicanremember; And, then, by the magic of Oracle you can connect as 'abc': SQL> connect abc/somepasswordicanremember [all sorts of results here] SQL> grant select on pqr to test; Grant succeeded. SQL> connect test/somepasswordidontknow [all sorts of results here] If this is some 'real world' problem which you've oversimplified in David Fitzjarrell You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||