SSIS Lookup data update -


i have created ssis package reads data csv file , loads table1 . other data flow tasks on table 1 .table1 has columns x , y, z, ,b . table 2 has columns , b ,y,z lookup done based on columns y , z . based on column y , z , picking , b table 1 , updating table 2 . problem data gets updated multiple rows of data thats 1 without updation , 1 after updation .

i can provide more clear explanation if needed .

fleshing out nick's suggestion, rid of second data flow (the 1 table 2 table 2).

after first dataflow populates table 1, execute sql task performs update on table 2, , joins table 1 new data.

edit in response comment:

you need use clause match rows uniquely. apparently model_cd not unique column in jlrmodel_dims. if cannot make clause unique because of relationship between 2 tables, need select either aggregate [length (cm)] min(), max() etc, or need use top 1, 1 row subquery.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -