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

SSIS For each Loop

$
0
0

Please help with the following question,

I have a table with list of source and target table names.

I am trying to automate the SSIs process. All the tables are 1:1 mapping. 

Is this approach correct?

1) Execute SQL task to get source and target table name from table and store in object variable

2) Have a For Each loop to iterate through each of source tables

   2 a) With FOr each have a data flow task to load from source to target

       in the source am using SQl command as I have to do few transformation/conversion.

Is it possible to access the variable name(which stores the source table name) in SQL command of OLEDB source?

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>