我们有用于更新的oledbCommand Transformation,可以在SSIS中删除目的,它可以正常工作,但是当我们有大量数据时,它将降低性能,因此我们可以在sis中的控制流窗格中的执行sql任务中编写查询以进行插入,更新记录,我知道这有效,但我不知道该怎么做,请大家帮帮我。
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.
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句