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

COMBINING DOCUMENTS IN SSIS

$
0
0

I have two tables in sql server 2005 that I have exported in Excel and I have attached the results. I want to create an SSIS Package to update the TABLE2 which has just 2 columns(work_id, pages). The logic here is to look at the TABLE1 and check to see if the WORK_TYPE, WORK_NUMBER, WORK_DATE is the same, update TABLE2.WORK_ID to just one work_id. For example, the first record for work_number 888877 in TABLE1 should have 5 pages in the TABLE2.PAGES column and the WORK_ID column be updated to 100 instead of 100 and 103 and so on.

TABLE2



Fatoumatta Barry



Viewing all articles
Browse latest Browse all 24688


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