sql server - SSIS Dynamic Mapping column -


i'm little new ssis , have need import flat files sql tables in same structure. (assume table exist in same structure , table name , flat file name same) thought create generic package (sql 2014) import file looping through folder. try create data flow task in foreach loop container in data flow task dropped flat file source , ado.net destination . have set file source variable every time loops through new file. ado.net table name set variable each time select different table according file name.

since both source column names , destination column names same assume map columns automatically.

but simple map didn't let me run package added column on source , selected table , mapped it.

when run package assumed automatically re map everything. first file ran second file failed complaining map issues.

can 1 let me know whether achievable doing dynamic mapping?? or using other way.

any appreciated.

thanks ned


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -