I have multiple text file in my source folder which I have to import to SQL Server using SSIS and after import all file has to moved to Archive folder. Can any one suggest me the easiest method?
-
1This is one of the core functionalists of SSIS. What research did you do? What have you tried?Brad– Brad2018-06-11 16:43:16 +00:00Commented Jun 11, 2018 at 16:43
-
Step 1) Import data, Step 2) Move the files. What's the problem here?James Z– James Z2018-06-11 16:43:35 +00:00Commented Jun 11, 2018 at 16:43
-
Research the Foreach Loop Container and the File System Task.tonyd– tonyd2018-06-11 16:51:07 +00:00Commented Jun 11, 2018 at 16:51
Add a comment
|
1 Answer
The first link below provides the basics of using SSIS to archive imported files. The second link provides similar information with additional detail of renaming the archived files with a date/timestamp tag.
Loop through files loading them and archiving them one-by-one
Archive files and add timestamp
Hope this helps.
1 Comment
Shiv Shankar Maiti
Thank you very much. These links provided by you has helped me to solve my problem.