Skip to content Skip to sidebar Skip to footer

Ssis Reading From Record Set Instead Of Database

I'm doing some data migration of a large amount of data in which I need to perform some data matching in order to identify the operation that needs to be done on the record. For th

Solution 1:

1) using Look up transformation is one efficient way of merging records

ex: enter image description here

2) Use merge procedures

ex:

MERGE [dbo].[Value] AS TARGET
         USING [dbo].[view_Value] AS SOURCE 
        ON ( 
            TARGET.[Col1] = SOURCE.[col1]  

            )

     WHEN MATCHED 
     THENUPDATESET
     TARGET.[col3] = SOURCE.[col3]
     TARGET.[col2] = SOURCE.[col2] 

    WHENNOT MATCHED BY TARGET THENINSERT ([col1], [col2], [col3]  )
    VALUES (SOURCE.[col1], SOURCE.[col2], SOURCE.[col3]  )

Post a Comment for "Ssis Reading From Record Set Instead Of Database"