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

Importing Constantly Updating CSV file into OLE DB

$
0
0

Good afternoon,

I'm new to SSIS so bare with me if I've missed something totally obvious here....

My objective use for SSIS is to import data from one CSV file into my MSSQL 2008r2 database. Thus far I have managed to create a csv, map the columns to an existing table in the database and import the data into my table successfully. Rather pleased with myself I then created a job in SQL server to run this package every 15 seconds which also appeared to work well. However my issue is the csv file I'm importing is being updated constantly every 4 seconds (the same row is updated, not a new row appended) with new data but my package is only importing the very first value it reads when I start the job. I figured what I needed to do was a foreach loop no the csv folder which I have now also managed to get working but again my issue is back to the initial flat file connection not refreshing.

Hope that all makes sense and someone can point me in the right direction.

Regards

Gary


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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