flatfilesource

Import multiple flat files to multiple SQL Tables

谁说胖子不能爱 提交于 2019-12-23 23:23:18
问题 Here's my folder setup. Here's the File setup The idea is to traverse through the folders & put FileA contents to Table FileA.dbo on the database ( also FileB,FileC etc). The FileName structure is same throughout all the folders. I have this ssis package where I parse through the folders with a foreachloop-> dataflow. I have checked that the algorithm I've formulated to get the filename is working REVERSE(Substring(Reverse( @[User::FileName] ),5,LEN( @[User::FileName] ))) == "FileA" It parses