What is the Auto-Create Script to Delete Data From a DB Table in the COPY Activity of ADF?

Mike Kiser 1,531 Reputation points
2021-04-09T15:33:46.757+00:00

Hello @Nasreen Akter
What is the auto-create script that I need to use to delete data from a DB Table in the Source of a Copy Activity?

Thank you!
Mike Kiser

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

Accepted answer
  1. Nasreen Akter 10,736 Reputation points
    2021-04-09T15:56:29.473+00:00

    Hi @Mike Kiser ,

    I am not exactly understand the ask. Would you please explain a little more if the following comments does not help. Thanks!

    In the CopyActivity --> Sink, there is a "Pre-copy script" field where you can put your DELETE statement. This statement will execute prior inserting records in the table.

    86250-img41.jpg


0 additional answers

Sort by: Most helpful