Pergunta

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

Foi útil?

Solução

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

select * from user2.INFO

Hope it helps..

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top