Home > Software engineering >  How to incrementally load data from Azure Blob storage to Azure SQL Database using Data Factory?
How to incrementally load data from Azure Blob storage to Azure SQL Database using Data Factory?

Time:11-10

I have a json file stored in Azure Blob Storage and I have loaded it into Azure SQL DB using Data Factory. Now I would like to find a way in order to load only new records from the file to my database (as the file is being updated every week or so). Is there a way to do it?

Thanks!

CodePudding user response:

You can use the upsert ( slowly changing dimension type 1 ) that is already implemented in Azure Data Factory. It will add new record and update old record that changed.

Here a quick tutorial : enter image description here

In Alter row you can use Upsert if condition.

enter image description here

Here mention condition as 1 == 1

  • Related