我们有oledbCommand Transformation for Update,在SSIS中删除pupose它工作正常但是当我们有大量数据时它会降低性能所以我们可以在ssis的控制流窗格中的execute sql task中编写一个查询,用于插入,更新记录我知道这有效,但我不知道该怎么做,请各位帮助我。
答案 0 :(得分:1)
You can achieve this in two ways using execute sql task.
1.Insert data into global temporary table,then use execute sql task update your target table with join temporary table and can also insert data to your target table using temporary table.
2. Insert data into in dummy table(database) then update and insert target table using this dummy table. You can use merge statement for insert and update.