sqlcurious
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER