Skip to Main Content

SQL & PL/SQL

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!

FULL OUTER JOIN Errors

417761May 10 2004 — edited May 11 2004
Hi

If I full outer join a table (schema A) with a view on another schema (schema B) and the view is selecting from another view on the same schema (schema B) then the only way to get this to work is to add a synonym in schema A to both views on schema B. HOWEVER, you only need to add the synonym to the first view if you do not use a full outer join. Maybe this is a bug, maybe not, I can live with adding synonym to both views which seems to work. BUT...Now in a different example I am getting ORA-00918: column ambiguously defined errors when everything is fully qualified. If I run both parts of the full join they work seperately, but when they are full outer joined I get the error, even if everything is qualified or I just select 1 as 'test' from the full join; this leads me to suspect the ON conditions, but they all seem to be ok too.

Anyone else had problems with full outer join across views/schemas ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2004
Added on May 10 2004
4 comments
1,909 views