bigbalbossa
Programmer
I don't get the chance to work w/ SQL as much as i'd like, so i've got a fairly simple question.
I'm trying to find all records from table A that DON'T match table B. This is an Oracle DB...Normally, i would handle this like so:
But now I have to match on two fields concat'd together and this is causing an error: "ORA-01417: a table may be outer joined to at most one other table". Here's the code:
Can somebody explain this and recommend a new way?
Thanks!
I'm trying to find all records from table A that DON'T match table B. This is an Oracle DB...Normally, i would handle this like so:
Code:
select a.*
from table1 a, table2 b
where a.LINK = b.LINK(+)
and b.LINK is null
But now I have to match on two fields concat'd together and this is causing an error: "ORA-01417: a table may be outer joined to at most one other table". Here's the code:
Code:
select a.*
from table1 a, table2 b
where a.LINK||a.LINK2 = b.LINK||b.LINK2(+)
and b.LINK||b.LINK2 is null
Can somebody explain this and recommend a new way?
Thanks!