Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Moving files and inserting data using SSIS.

$
0
0

In my company, they’ve been using an application to manually move documents from one network drive to another network drive one doc at a time. Subsequently, as the docs are moved/copied, the following are inserted into two SQL Server tables:

  1. The new file path for each doc
  2. The doc name prefixed by auto incrementing value
  3. Each folder names must be parsed and inserted into tables, which are underscore delimited (ABC_DE_FG HI JKL_MIN MIN MIN MIN_OP-QR-STU_VWXYZ).

This was done using a stored procedure that has multiple parameters: after a person passes the parameters in the app, the stored procedure will insert the related data into two tables and the application moves/copies the document.

So, this manual task has become tedious and we want to do it using SSIS. My question is how do I go about accomplishing this? I’ve read some articles that talk about copying files using Foreach Loop and/or File System…but how do I make sure that as the docs are moved/copied, the related data are inserted into the intended tables?

Thank you in advance,

~In-


Viewing all articles
Browse latest Browse all 24688

Trending Articles