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

How to pass a dbf filename into an SSIS package

$
0
0

I have records stored in DBFs.  Two DBF files for each day for the last 8 years.  One file is data, the other is the associated data variable - linked to the data by an ID.  I have a stored procedure which copies the files into a directory, and enters the file names into a table.  I can cursor through those file names and process them in order.  I tried using OPENROWSET to import the data into tables, but each data file has about 4.3 million records and it took about 37 minutes ( I tried it with physical tables as well as a table variable).  So, I created a DTS package which can import the data and variables into tables.  It takes only about 26 seconds. 

Now if I could just figure out how to pass the name of the dbf file I want to extract data from...   I looked up some examples, but those all seem to deal with flat files (.txt, .csv), so the data source configuration is different.  I'm using Microsoft Office 12.0 Access Database Enging OLE DB Provider... an OLE DB connection.

I would greatly appreciate any procedure and examples.  Thanks.



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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