Search 
Tuesday, September 07, 2010 ..:: Blog ::.. Register  Login
 Site Blogs Minimize

 Print   
 Blog History Minimize

 Print   
 SSIS: Foreach Loop over a directory of DBF files. Minimize
Location: BlogsInfinite RandomnessSoftware Development    
Posted by: infrandom 3/28/2006
This is a quick demonstartion of how to use a Foreach Loop over a directory of DBF files.

This package will use the Foreach loop to iterate through a directory of DBF files. In the DataFlow the OLE DB Source component will open each of the files. The Script Component will MsgBox the variable fileName (note: it will msgbox for each row in the file).

Connection Manager Setup:

 

 

Control Flow:

Foreach Loop Config:

 

 

 

DataFlow:

 

OLE DB Source:

 

Script Component:

 

Execution Results:

 

 

Permalink |  Trackback

Comments (3)   Add Comment
Re: SSIS: Foreach Loop over a directory of DBF files.    By Baldev on 8/22/2007
Looks like what I have been looking for, I use dBase files to do all the processing at my work place. does it mean I can use the OleDB source to connect to dBase tables and perform row transformations like with SQL tables?

Re: SSIS: Foreach Loop over a directory of DBF files.    By infrandom on 12/6/2007
Yep, once you have read the data source you're free to go about any transformations.

Re: SSIS: Foreach Loop over a directory of DBF files.    By wd on 12/9/2009
The English author,<a href="http://wars.swagblack.com" title="The Wars">The Wars</a> Richard Savage, was<a href="http://wars.swagblack.com" title="web games">web games</a> once living inLondon<a href="http://wars.swagblack.com" title="free web game">free web game</a> in great poverty.<a href="http://wars.swagblack.com" title="online web game">online web game</a> In order to<a href="http://wars.swagblack.com" title="web game">web game</a> earn a little<a href="http://wars.swagblack.com" title="free web games">free web games</a> money he hadwritten <a href="http://wars.swagblack.com" title="web gaming">web gaming</a>the story of<a href="http://wars.swagblack.com" title="web online games">web online games</a> his life, but <a href="http://wars.swagblack.com" title="on web games">on web games</a>not many copies<a href="http://wars.swagblack.com" title="free online web games">free online web games</a> of the bookhad<a href="http://wars.swagblack.com" title="play web games">play web games</a> been sold in<a href="http://wars.swagblack.com" title="new games on the web">new games on the web</a> the shops, and<a href="http://wars.swagblack.com" title="play free web games">play free web games</a> Savage was living <a href="http://wars.swagblack.com" title="game web site">game web site</a>from hand tomouth. <a href="http://wars.swagblack.com" title="web game sites">web game sites</a>As a result<a href="http://wars.swagblack.com" title="on the web games">on the web games</a> of his lack<a href="http://wars.swagblack.com" title="web games online free">web games online free</a> of food he became very ill.<br>


Your name:
Title:
Comment:
Add Comment   Cancel 

  
Copyright 2006 Psychogenic Syndicate   Terms Of Use  Privacy Statement
DotNetNuke® is copyright 2002-2010 by DotNetNuke Corporation