sql server - Handling files with different structure For each Loop SSIS -


there 3 files in directory , 2 of them same structure , 3rd 1 has 3 more column in end of file.

file 1: columna,....,columnz  file 2: columna,....,columnz  file 3: columna,....,columnz,column1,column2,column3 

is possible import these files using single connection in each loop container? if flat file connection connection based on file 3 .

no not possible in ssis. using flat file connection designed file 3 corrupt data loaded files 1 & 2.

i build 2 flat file connections different layouts, within each loop container build 2 data flow tasks 2 layouts. disable data flow tasks using expression, appropriate data flow task executes against each file.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -