As I've said before, I'm not really an oracle developer so bear with this simple question. At least it seems like it should be easy. Apparently I'm having brain freeze.
I get 2 files one external the other internal. Both get loaded to a table with. I need to identify those people that appear on file A that don't appear on file B. This doesn't work.
select count(a.PARENT_ID)
from EDI_AUDIT_DEP_IN_TMP a, EDI_AUDIT_DEP_IN_TMP b
where a.PARENT_ID || substr(a.FNAME, 1,3) || a.ACCOUNT_NO || a.RELATIONSHIP || a.GENDER || a.DOB <> b.PARENT_ID || substr(b.FNAME, 1,3) || b.ACCOUNT_ID || b.RELATIONSHIP || b.GENDER || b.DOB)
and a.file_id = 'A'
and b.file_id = 'B'
Any suggestions?
I get 2 files one external the other internal. Both get loaded to a table with. I need to identify those people that appear on file A that don't appear on file B. This doesn't work.
select count(a.PARENT_ID)
from EDI_AUDIT_DEP_IN_TMP a, EDI_AUDIT_DEP_IN_TMP b
where a.PARENT_ID || substr(a.FNAME, 1,3) || a.ACCOUNT_NO || a.RELATIONSHIP || a.GENDER || a.DOB <> b.PARENT_ID || substr(b.FNAME, 1,3) || b.ACCOUNT_ID || b.RELATIONSHIP || b.GENDER || b.DOB)
and a.file_id = 'A'
and b.file_id = 'B'
Any suggestions?