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

Load Files to Different Tables according to the File Name in SSIS Package!!

$
0
0
I want to load files based on their names into tables with the same names.  The tables are already created.  I want to use an expression in the connection manager to allow me to insert based on the ForEach loop container.  As I loop through Each File there is a FileName Variable in the Variable Mappings storing the File's Name.  I am using a Conditional Split to dictate which table is loaded based on the FileName Variable (@FileName == "Example.txt") and I want it to insert into different OLEDB Destinations based on the outcome of the condional split.  The problem is that the condional split is not loading the destinations correctly.  They are loading them all into one destination.

Viewing all articles
Browse latest Browse all 24688

Trending Articles



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