Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

Process Multiple Files Sequentially and load into staging table.

$
0
0

Hi All,

 

I have requirement we are extracting the Multiple files from on of the source folder( D:\Source). the folder contains files such as .CSV format

 

Ex:


Test-20160616-00000049.csv

Test-20160616-00000050.csv

Test-20160616-00000051.csv

Test-20160616-00000052.csv

 

I need to extract this files one by one ( Sequentially ) and load into staging table( DB2 database). My guess is I have to use while loop in this scenario to loop files one by one. can you please give the script to do this process.

 

Thanks

Murali


Viewing all articles
Browse latest Browse all 4013

Trending Articles



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