Good Day All,
I apologise in advance for what is probably a pretty simple problem for many of you.
Basically a file is saved down every hour into a certain folder (file ext .AMA), and I would like to create an SSIS package that runs every hour and imports only the last modified file into a SQL Server database.
I realise I need to use the script component to do this, but I have zero working knowledge of vb.net (I'm stuck with VS 2005). Also, I'm not sure if this needs to be done within a Foreach Loop Container or if it's possible to go directly from the scrip component to the OLE DB Destination?
Would anyone be kind enough to give me a sample script that I can work off, and explain to me how to incorporate it into an SSIS package? I can't make head nor tale of script solutions I've seen from Googling, and many of them seem to be using C# anyway.
Going by the last modified date/time should be okay, but there is a date/time in the filename in the following format "YYMMDDHHMM", I'm not sure how useful that would be though.
Thanks in advance!