Loop through each record in a text file : Recordset Destination(beyondrelational.com)

submitted by sudeepsudeep(228) 1 year, 8 months ago

In most ETL we use Foreach loop to iterate through each file in a folder or records fetched from a table. Now the question arises how do we use Foreach loop based on each record in a text file. Scenario: We have a text file having 2 columns, one containing source file relative path and 2nd column having the destination file relative path. The objective is to fetch each file from the source folder that are there in the our text file and move them to destination based on the connections available in the text file on the same record. File Layout: InputFilePath,OutputFilePath \Input\Input1.txt,Output\Output1.txt \Input\Input2.txt,Output\Output2.txt \Input\Input3.txt,Output\Output3.txt

add a comment |category: |Views: 8

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story