UPSERT in SSIS

前端 未结 8 1124
生来不讨喜
生来不讨喜 2021-01-03 00:37

I am writing an SSIS package to run on SQL Server 2008. How do you do an UPSERT in SSIS?

IF KEY NOT EXISTS
  INSERT
ELSE
  IF DATA CHANGED
    UPDATE
  ENDIF
ENDI         


        
相关标签:
8条回答
  • 2021-01-03 01:37
    1. We can use slowly changing dimension component in SSIS to upsert.

    https://docs.microsoft.com/en-us/sql/integration-services/data-flow/transformations/configure-outputs-using-the-slowly-changing-dimension-wizard?view=sql-server-ver15

    0 讨论(0)
  • 2021-01-03 01:37

    I would use the 'slow changing dimension' task

    0 讨论(0)
提交回复
热议问题