November 16, 2011 at 7:35 am
I have a file that gets imported every morning.
This file is named every day with the date. For example - '20111115_filename.xls'
Long story short..I need to read to look at that file name and take the date from it and update the date field in my table with the correct date - 11/15/2011.
Is this possible? Do I need to use SSIS?
November 17, 2011 at 6:52 am
Hi,
Yes, sure you can do it,
Please make a visit to or keep an eye into:
http://bi-polar23.blogspot.com/2007/08/loading-multiple-excel-files-with-ssis.html
You could register the file name in a table,a later you can play with it using string functions.
Good Luck
November 18, 2011 at 1:00 pm
Here is a good article on how to set this up.
http://www.mssqltips.com/tip.asp?tip=1443
You can load the file name into a variable of the package and the rest is easy on what you want to do with it.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply