سؤال

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

هل كانت مفيدة؟

المحلول

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

select * from user2.INFO

Hope it helps..

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top