Question

I want that table created by one user should be accessible to another user also I am doing the following thing.

Connect to user2 connected

    SQL>grant SELECT on INFO to user1;   //info is a table created by user2
    SQL>grant succeeded

connect to user1; connected

    SQL>select * from INFO;

Then it returns the error

     select * from INFO
                   *
     error at line1:
     ora 00942: table or view does not exist

Please help me

Était-ce utile?

La solution

try executing your query like this: user2 is the Schema here..

select * from user2.INFO

Hope it helps..

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top