Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
QAZAFI
Yak Posting Veteran
50 Posts |
Posted - 2008-05-11 : 23:20:24
|
Hi AllI have a situation in my SSIS Project where I have a folder in which contains 10 text files, what I need to do Loop through all these files and select the data from those text files and insert them in SQL Database table. I will be able to get the names of those file using For Each Loop Container but I don’t have idea how to insert the data in SQL table using for each loop container. I don’t want to use multiple data flow task. Any help will really appreciate Many thanks |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-05-12 : 00:19:59
|
You just need a SQL Command task inside your For Each Loop container which conatins an INSERT statement to insert the data to table retrieved using variable inside your for loop.Refer the link too:-http://www.sqlis.com/55.aspx |
 |
|
|
|
|