August 11, 2011 at 9:14 pm
Hi All,
I have been working on a package that retrieves data from a csv file and import data into a table. I would like to schedule it to run for every one hour. In this package, I want to add a condition such that it imports the data from file in a folder which was created/modifed within last one hour. Any ideas on accomplishing this would be greatly appreciated. Thanks.
August 12, 2011 at 8:27 am
Hi,
I've blogged your solution here
Basically what you need is a "foreachloop" to iterate over your files, get the file creation date using a script task, use the precedence constraint to check if it's less than 60 minutes so you can process it.
Let me know if you have any Questions.
regards,
Jason Yousef
August 15, 2011 at 7:38 am
Thanks a lot! This solution resolved my issue.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy