Share via

Is it possible to Append data from SQl Server in same csv file in Azure Data Lake storage from SQL Server

Kothapalli Srinivasarao 131 Reputation points
2022-05-11T06:40:48.97+00:00

I am trying to copy the data from SQL server where I am getting data in range but I am to store the data in same CSV using append or incremental approach(meant my store file remain same but data stored incrementally line first 0-99 data than 100-199 data like that) is there any way to do that.

Azure Data Lake Storage
Azure Data Lake Storage

An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments

Answer accepted by question author

ShaikMaheer-MSFT 38,631 Reputation points Microsoft Employee Moderator
2022-05-11T11:32:13.95+00:00

Hi @Anonymous ,

Thank you for posting query in Microsoft Q&A Platform.

Files in storage account will get replace or override when you save new data with same name. Hence appending or incrementally loading file with same is not possible.

You can consider storing new data as another name may be with timestamp values in it. So that all data with different timestamp loads will be available in different files.

Once all your data is available in different files then you can consider using Union transformation inside dataflows to merge all data in to single set and load as sink file.

Kindly check below video to know how Union transformation will work.
https://www.youtube.com/watch?v=vFCNbHqWct8

Hope this helps. Please let us know if any further queries.

--------------------

Please consider hitting Accept Answer button. Accepted answers help community as well.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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