An upsert destination inserts rows whose key combination is absent from a target and updates aggregated values when that combination already exists. section 6.3.2
Merge marketing aggregates
A data flow reads marketing.Impressions, rolls EventTime to dates, calculates average BidPrice and CostPerMille, then upserts reporting.ImpressionAggregates using its key combination. Compared with one Execute T-SQL Statement task, the flow can redirect failed rows individually and make transformation logic visible. section 6.3.2
Figure 6.12 Upsert destination—Column Mappings tab
Use the column-mappings view to inspect how incoming aggregate columns map to the upsert target. section 6.3.2
