insert update logic

Vineet S 1,390 Reputation points
2024-07-11T15:43:44.89+00:00

Hi,

how to add insert and update logic in adf pipeline ... i am new to it so it would be great to update with some screenshots

i am using copy activity now to insert full load for the first time

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
{count} votes

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,351 Reputation points Microsoft Employee Moderator
    2024-07-11T20:07:07.29+00:00

    Hello Vineet S,

    What is your sink in ADF?

    if you are using Azure SQL as your sink in your copy actity, the you can use the "Upsert" write behavior in the "Copy Data" activity. The "Upsert" feature allows you to insert new rows into a target table and update existing rows based on a matching condition.

    Using the Copy activity in adf for full load is a common approach when you're loading data for the first time. However, for subsequent loads, you might want to consider using incremental loads to insert or update data based on changes since the last load using the dataflow.

    I hope this helps. User's image

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.