Hi,
We are using sql server 2012. We get data from vendor in excel format (companyID, companyName, routing Number). We get this excel file every day. The data doesn't change much. Only some time routing number may be changed or new companies may be added. What I need to do is export this data into sql server table. First file is fine because there is no data in the table at all. When rest of the files are exported, logic should check table and export only those companies that doesn't exist in the table and update routing number of those companies whose number is changed. CompanyID is unique. Rest of the data shouldn't be exported from excel file. How can I achieve this in SSIS package.
I think one option is call SP from SSIS package and in SSIS package open excel file using bulk copy and join with table and insert only new records. Are there any options in SSIS package or any other elegant solution?
I appreciate your response.
Spunny