0

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?

3
  • 1
    This is one of the core functionalists of SSIS. What research did you do? What have you tried? Commented Jun 11, 2018 at 16:43
  • Step 1) Import data, Step 2) Move the files. What's the problem here? Commented Jun 11, 2018 at 16:43
  • Research the Foreach Loop Container and the File System Task. Commented Jun 11, 2018 at 16:51

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you very much. These links provided by you has helped me to solve my problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.