Hello,
I have to create a simple pkg to load one table from .txt/.csv file and once loaded archive the file to diff archive folder.
the .csv file will be coming every hour or so, with file containing time stamp (e.g. FileName20200317.1830.csv, FileName20200317.1930.csv... )
I need to update a table in a db by copying the file name and flag as completed once ingested and archived.
eg. Control_table (Id, FileName, Status) values (1,FileName20200317.1830.csv, completed)... I need to add this pkg to job which runs every hour to check if any file has arrived.
If there is any link to such the sample pkg, I will be using 2015 SSDT and 2016SqlServer for this. I can store the config info in xml file and pkg will be stored on file system.
Thanks,
Neil
Neil