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

Exporting data from db using ssis

$
0
0

Hi,

I have around 15-20 tables (with few thousands of rec) in the sql server db, I would like to export each of these tables to separate pipe delimited flat file.

What I did..

1. Got the ESQL task to get all the table names into a object variable

2. Got the foreach loop container to loop through and catch the name of each table into a different string variable

3. In ForEach loop I brought the DataFlowTask 

Here is what I am confused to build logic here... the problem I am facing is with column mapping, If I map for one table, the other table might have diff num of columns and datatype..

I know I need to do some dynamic mapping etc.. just need your help in this.

Thanks,


Neil


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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