Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS - Excel to SQL, updating records...

$
0
0

Wonder if you guys can help. I have an SSIS package which populates a SQL Server Table with data from an Excel Spreadsheet. The Package Sorts the Excel Spreadsheet to remove Duplicates and also does a Lookup Transformation to check for duplicate entries in the SQL table. This all works great, it will insert new records and filter out duplicates to a flat file. What I am wanting to do however is allow updates to Rows/Cells in the Excel spreadsheet which will then populate across to SQL, whilst maintaining the Insert aspect of the package if the record doesn't exist.

I am in the right ball park with Lookup Transformations and Conditional Splits, I am just falling short with how I can apply this to the SSIS package so that I keep the functionality of both. I don't need to update the Excel Spreadsheet with any changes to the SQL table, it's just any changes to lines in the Excel Spreadsheet that I want to carry over to the SQL table.

Please can someone guide me in the right direction?

Cheers.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>