The USER2 has no his own schema objects and he just want to access the USER1's schema. When USER2 accesses USER1'object, he always needs to prefix USER1 to the object name (For Example, select * from USER1.table1).
My question is: is there any way to set USER1's schema as the default schema for USER2, so USER2 doesn't need to use the prefix any more?
I don't want to use synonym as USER1's schema could be dynamic.
in old days we used private synonyms for every user. If have see case designer for example of this.
now alter session set current_schema is officialy available.
At least I am considering to use this approach inb future applications .
"ATER SESSION SET CURRENT SCHEMA = schema;" is perfectly legal SQL command, documented in Oracle8i SQL manual. SO it is not unsupported any more, as it trully was up until 8i.
Jurij Modic ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?
Bookmarks