Hi all
I have a small doubt...
Suppose there are two users ..User1 and User2...
Now both the user create the same table Customer and made them public....
First doubt is that is it possible...
If yes then my second doubt is that i m the third user User3 and access Customer without giving any user name in prefix...which table i m going to view...
Hi Jkbytes
Thanks for the first response ...........But my question is if the third user has not created the table then which table he is going to view...The table created by the USER1 or the table created by the USER2
Joined: 19 Feb 2005 Posts: 142 Location: South Africa
hi saurabh,
if you are trying to access a table that is not created under your userid, then you may get the following error code when you are trying to retreive the records.
Code:
SQLCODE = -204; ERROR: USER03.CUSTOMER IS AN UNDEFINED NAME.
SQLSTATE = 42704 SQLSTATE RETURN CODE.
Thanks JK for the quick response ...
But still one doubt left and that is why he will not be able to access the table created by the user1 and user2.....They both have created the table and made it pubilc..
Thanks
SAurabh