Hello Everyone,
I have 30 files (.txt) in Azure Storage Explorer and i want to load these 30 files into 30 different tables in a SQL Managed Instance. Can someone please share if there is a link or document?
Thanks
Hello Everyone,
I have 30 files (.txt) in Azure Storage Explorer and i want to load these 30 files into 30 different tables in a SQL Managed Instance. Can someone please share if there is a link or document?
Thanks
Hi @bhargavkandala-1177 ,
Following up to see is below answer helps you? If yes, Please consider click on Accept Answer. Accepted answers helps community as well.
Hi @bhargavkandala-1177 ,
Just checking to see is below answer helps you? If yes, Please consider click on Accept Answer. Accepted answers helps community as well.
Hi @bhargavkandala-1177 ,
Welcome to Microsoft Q&A Platform. Thank you for posting query here.
Your datasets inside Copy activity(source dataset & sink dataset) should be parameterized to dynamically points your file and table.You can have your filename and table name mapping defined in some config table and then lookup that table using Lookup activity. use ForEach activity to iterate over that lookup data and inside ForEach activity use Copy activity
Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
Want a reminder to come back and check responses? Here is how to subscribe to a notification
If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
@ShaikMaheer-MSFT
Thanks , i am looking for a step to step documentation , similar to this
https://www.mssqltips.com/sqlservertip/6282/azure-data-factory-multiple-file-load-example-part-2/
Thanks
Hi @bhargavkandala-1177 ,
Thank you for response. You can refer below documentation link which explains copy data from file to table.
https://docs.microsoft.com/en-us/azure/data-factory/tutorial-copy-data-portal
Please Note, above documentation explains by considering one file. Same logic you need to implement in your case for multiple files using parameterized datasets to point to your files and tables dynamically.
You can refer below links to know how to parameterize datasets.
https://www.youtube.com/watch?v=9XSJih4k-l8
Hope this will help. Please let us know if any further queries. Thank you.
Please consider clicking on
button if this information is helpful.
6 people are following this question.