I have a situation that I'm not quite sure how to handle. Basically I have a source table and target table, both have almost the same data but a few rows have columns with different data. I'm supposed to compare three columns from each row in the source and target tables, and when I find a target table column that has differing data, I update that column with the data from the source table. Does anyone have a suggestion on an efficient way to do this?
Currently I have the source/source qualifer, an expression transformation, and lookup transformation set up. The lookup references the target table in order to bring the data in for comparison. The data from the expression and lookup are moved to another expression transformation. Is it here that I would use some sort of IIF statement to make comparisons and update? Any help is appreciated.
Thanks,
Jisoo23
Currently I have the source/source qualifer, an expression transformation, and lookup transformation set up. The lookup references the target table in order to bring the data in for comparison. The data from the expression and lookup are moved to another expression transformation. Is it here that I would use some sort of IIF statement to make comparisons and update? Any help is appreciated.
Thanks,
Jisoo23