Hi Folks
I've just successfully setup a DTS Package that takes data from a CSV file and imports it into a table in my database. This is scheduled to run each day at noon.
My problem is that I only want the package to run when it finds a file with a particular name (data.csv) and, if it does, import the data, save the original file with a timestamp (e.g. data-2005-03-24.csv) and delete the original file.
Can all of this be done with DTS? Do I need to do some VBScript?
Cheers,
Fiddler.
I've just successfully setup a DTS Package that takes data from a CSV file and imports it into a table in my database. This is scheduled to run each day at noon.
My problem is that I only want the package to run when it finds a file with a particular name (data.csv) and, if it does, import the data, save the original file with a timestamp (e.g. data-2005-03-24.csv) and delete the original file.
Can all of this be done with DTS? Do I need to do some VBScript?
Cheers,
Fiddler.