Avatar of enrique_aeo
enrique_aeo
 asked on

SSIS - Foreach Loop Container - read table

I need to travel a txt file folder where you have the txt file names are in a sql table
with the following structure.
File name
Load State
Upload date

I was checking the internet and there is a Foreach Loop Container control that lets go flat files. What I need is to develop an ETL to scroll through the txt files based on a table. Each time a file is loaded only the state changes and would load the files where the state does not change. For example: Select Filename from TbConfiguracion Where Status = 0

Have some example. I thank you in advance for your time.
Microsoft SQL Server 2008Microsoft SQL Server 2005Microsoft SQL ServerSSIS

Avatar of undefined
Last Comment
DcpKing

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
DcpKing

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck