Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2009-10-08 : 12:09:08
|
Hi,There are several separate files in a folder on the network.i.e.Personal.xlsbuildings.xlsfood.xls...I am creating a ssis package to transfer the data in each file into it's related table.Question:Should I use a foor loop for this import or should I just have one connection for each.Note that the number and the name of these feed files will remain the same every day.Thanks |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-10-08 : 12:58:42
|
IMHO that is not a job for the "for loop".To handle that without any trouble I would like to have one package for each file and then start them in a job.So I would be able to add a new file with a new package without having to work in an existing package.And I would be able to remove a file by simply not starting that package anymore. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
arkiboys
Master Smack Fu Yak Hacker
1433 Posts |
Posted - 2009-10-09 : 02:18:14
|
I see.Thanks |
 |
|
|
|
|