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

How To Get Most Recent File from Directory And Load into Database

$
0
0

Hi Experts,

Sorry, if this is quite a basic and common query.

However, I could not get the solutions worked for me because of various C# errors I get using the online code.

Could anyone suggest me the best solution for the below scenario:

Check for the latest file in a folder

Load the data into the database

Archive the data file into another Archive folder

Just wondering if this can be achieved by any SQL Server Agent job or OS Task or an SSIS job?

I appreciate any help on this.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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