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

Load all flat files from folder into sql table one by one

$
0
0
Hi,

I have created a ssis package where I am loading a data from flat file to staging table and staging to import table.
In this package input parameter is Filename.

First task of this package is For each loop container.
under that I am using executesql task to load the information like filename and load date and load id into table.
Filename of latest load id is a input to the package.
for single file its working fine.
but how to handle this when multiple files are there.
i want to take one file insert into file information table and load it into staging.
then go to next file

please suggest

regards,
Vipin jha

Thankx & regards, Vipin jha MCP


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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