Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

For each loop container - Loading the txt files in timestamp order

$
0
0
Hi,
I have a folder which has my source files, with the timestamp of YYYYMMDDHHMMSS.  Example: Claims_20200419182334.txt  Similarly there are so many files will be coming on daily basis. SOmefiles may have older dates also.

Using For each loop container, I am going to laod it one by one. But the catch is, I need to load them in the order. ie, if the files are like

Claims_20200418182334.txt
Claims_20200415182334.txt
Claims_20200415182234.txt

Then the For loop each container should load it in the below order

Claims_20200415182234.txt
Claims_20200415182334.txt
Claims_20200418182334.txt

Can you please help me on this ? Thanks in advance!

Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>