Hello,
I have two tables table A and table B.
The primary keys in the two tables are different.
The PK in table A is a combination of companycode, policynumber and secondarycompanycode and the PK in table B is claimantIDnumber. Table B has columns companycode, policynumber and secondarycompanycode too.
Now during an update operation into tableB, for a given ClaimantIdnumber, the companycode and policynumber were updated but not the secondarycompanycode.
I need to find out all the claimantIDs that have the same companycode and policynumber in both the tables but different secondarycompanycodes.
Any help will be appreciated.
Thanks.
I have two tables table A and table B.
The primary keys in the two tables are different.
The PK in table A is a combination of companycode, policynumber and secondarycompanycode and the PK in table B is claimantIDnumber. Table B has columns companycode, policynumber and secondarycompanycode too.
Now during an update operation into tableB, for a given ClaimantIdnumber, the companycode and policynumber were updated but not the secondarycompanycode.
I need to find out all the claimantIDs that have the same companycode and policynumber in both the tables but different secondarycompanycodes.
Any help will be appreciated.
Thanks.