Check incremental data in db

Vineet S 1,390 Reputation points
2024-08-02T02:06:14.7733333+00:00

Hi how to use event base trigger to check if if any incremental data loaded in sql server which is source database the pipeline should loading that data.. Pls share screen shot

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

1 answer

Sort by: Most helpful
  1. Nandan Hegde 36,146 Reputation points MVP Volunteer Moderator
    2024-08-05T11:00:46.1533333+00:00

    To have an event based trigger, you can enable triggers within Azure SQL database to trigger stored procedure on update/insert/delete of any data from a table.

    And via Stored procedure, you can use the External REST API endpoint to trigger an ADF pipeline via REST API :

    https://learn.microsoft.com/en-us/shows/azure-friday/calling-external-rest-endpoints-from-azure-sql-database

    The below blog provides the details for event trigger :https://datasharkx.wordpress.com/2022/12/02/event-trigger-azure-data-factory-synapse-pipeline-via-azure-sql-database/

    And then use the watermark way or CDC way for incremental load :

    https://learn.microsoft.com/en-us/azure/data-factory/tutorial-incremental-copy-change-data-capture-feature-portal

    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.