SSIS: merging data from two csv's -


i importing data csv file(csv1) having columns userid, date , focus. there multiple records of same userid having diferrent focus value , different dates. need pick focus of user id having latest date , join file (csv2) having userid( more 1 same userid)fisrtname lastname , focus.

the result should in csv 2 same userid must have focus set of latest focus in csv1 file.

can how achieve result.

thanks in advance.

you can that, takes 2 steps:

step 1: import csv2 (look-up table) temporary table.

step 2: using ssis, "data flow transformations" toolbox select "lookup" item. write query select data temporary table. define matching columns.

also, there "merge join" type of transformation, seems me need "lookup".

if not familiar ssis transformations, google "ssis lookup transformation".


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -