Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to transfer data from all table in database to azure data lake destination?

$
0
0

Suppose I have two tables tbl1 and tbl2, then I want to create a package which will read the data from tbl1 and tbl2 and transfer the data to Azure data lake as two files tbl1.txt and tbl2.txt.

What I have done is created Execute SQL task with query select name from sys.tables which will return table names and loop through that result and store into store variable. But Oledb Source doesn't accept query like "select * from @[user::tablName] (a variable which has a table name)".

Please suggest me a solution. Thanks 


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>