insert update strategy

Vineet S 1,390 Reputation points
2024-07-14T19:39:27.5633333+00:00

Hi,

How we can update and insert data using sp in adf copy activity ... i can see check box in sync option of copy activity but how to add in it...please help me with screenshot

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
0 comments No comments
{count} votes

Accepted answer
  1. NIKHILA NETHIKUNTA 4,600 Reputation points Microsoft External Staff
    2024-07-15T06:13:35.04+00:00

    Hi @Vineet S

    Thanks for the question and using MS Q&A platform.

    1. In the sink settings of the Copy Activity, you can select the stored procedure option. Here, you can specify the stored procedure that you want to use.
    2. If your stored procedure requires parameters, you can specify them in the parameter mapping section.

    User's image

    Hope this helps! Let me know if you have any further questions.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Nandan Hegde 36,146 Reputation points MVP Volunteer Moderator
    2024-07-15T05:31:14.7233333+00:00

    Not sure what your ask is here?

    Do you want to upsert data into your sink via stored procedure?

    If yes, you cab use Merge Statement or write your own SQL code to upsert within the SP

    0 comments No comments

Your answer

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