I have two data sources, one sql table, one flat file (csv). Both sources have exact same columns. Example Data:
Table:
HCN Name Surname DOB
111 John Black 2013-12-10
222 Jack White 1989-01-14
333 Brian Brown 2000-04-22
FlatFile:
HCN Name Surname DOB
111 John Black 2013-12-10
444 Alex Smith 1978-05-16
Note that the column HCN is the primary key. What I need to do is to get such records included by the table but FlatFile.
Expected output:
HCN Name Surname DOB
222 Jack White 1989-01-14
333 Brian Brown 2000-04-22
I have to do it in Data Flow of my SSIS Package. I am doing below to get the matching records (HCN:111), but how I can get the unmatched ones I could not figure out. Any help would be appreciated.