ssis - How to apply lookup transformation column wise multiple times -
i need compare 2 data sets - excel , db. while comparing need check 4 fields say, a, b c & d columns both data sets. output should tell field not matching mismatch a, mismatch b etc. how can implement in ssis? tried implementing using lookup transformations multiple times. 1st time column , non matching records mismatch , send matching records 2nd lookup column & column b comparison. no match output 2nd lookup mismatch b this.. not working after 1st lookup.
use merge join transformation. sort both inputs on join key. once merged, use derived column component evaluate columns. i.e.
excelcolumna == dbcolumna ? "" : ("excel: + "excelcolumna + "; db: " + dbcolumna )
name each column mismatcha, etc.
Comments
Post a Comment