I would like to find out if it's possible to replace the data in azure sql database with the latest one everytime when my pipeline is ingesting new data. I have a pipeline that takes data from azure blob storage to azure sql but the challenge that I am facing is that the pipeline runs every 5 minutes and it is concatenating new data on the existing table in the database and I want it to replace the data everytime the pipeline is running. I have tried everything on the internet and nothing worked for me and now the space of my azure sql is exhausted.
Anything that will help will be highly appreciated. thanks
How you update your data depends on the data lifecycle. It sounds like you want a truncate & replace, or a MERGE.
Truncate & Replace
Merge