SQLSSISDev
Programmer
Currently I am using a SSIS package to read data from a .dat file and load it into SQL Server tables.
I am placing the input .dat file on the desktop. In the connection manager -> Browse option, I am pointing this file to create connection.
The file naming convention is like - aSNAP_Data_20140926_P-2014-09-26_07.02.36
However, I need the SSIS package to automatically read the input file from a folder which is located in a remote server. This folder has lots of files where input files are added on a daily basis with the date value in the file name as mentioned above.
I want to schedule the SSIS package to run daily and take the latest file in the folder based on the date.
Please let me know how to do it. Any help would be highly appreciated.....
Thanks in advance.
I am placing the input .dat file on the desktop. In the connection manager -> Browse option, I am pointing this file to create connection.
The file naming convention is like - aSNAP_Data_20140926_P-2014-09-26_07.02.36
However, I need the SSIS package to automatically read the input file from a folder which is located in a remote server. This folder has lots of files where input files are added on a daily basis with the date value in the file name as mentioned above.
I want to schedule the SSIS package to run daily and take the latest file in the folder based on the date.
Please let me know how to do it. Any help would be highly appreciated.....
Thanks in advance.