Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

why is schema prefix required to reference my own table?

590974Aug 1 2007 — edited Aug 1 2007
I login as system and create a table for a user with the user name as the prefix:

create table "user"."table1" ....

The table was created with owner being user. However, then I log in as user and do a
select * from table1 ..

I got the error message that the table does not exist.

I have to do
select * from user.table1 ....

then it works.

I was under the assumption that user is the owner of the table and it should be able to reference table1 without any schema prefix. Am I wrong with this assumption or it is something else that goes wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 29 2007
Added on Aug 1 2007
10 comments
2,082 views