Link to home
Start Free TrialLog in
Avatar of sqlcurious
sqlcuriousFlag for United States of America

asked on

help with code and ssis package

I have a issue where I should compare data from files to the table and overwrite the row if I find the customer's first name, middle name, last name and address match. If it doesnt match I will have to append the row from the file to the table.
What would be the best way to achieve this, please suggest. One issue is two of the files are csv and two are excel.
And also, when inserting to the table I need to include a datestamp as well.
Table and file structure:

BATCH_NAME |      CLIENT_ID    |      FIRST_NAME   |      MIDDLE_NAME   |      LAST_NAME   |      SUFFIX  |      ADDRESS_LINE1      

ADDRESS_LINE2 | AMOUNTSPENT | Category
SOLUTION
Avatar of Michael Fowler
Michael Fowler
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sqlcurious

ASKER

thanks