Solved

SSIS Connection as variable

Posted on 2013-06-21
2
376 Views
Last Modified: 2016-02-11
I am in the process of designing an ssis package that will need to insert ftp'd files into a table.
It would be convenient if I knew of a way to pass the name of the file to the SSIS  bulk transfer task as a variable so that it could reflect different file names. IS THAT POSSIBLE?

Right now the sql server is sql 2005 but it will be upgraded to sql 2008 r2.

thanks
0
Comment
Question by:qube09
2 Comments
 
LVL 21

Accepted Solution

by:
Alpesh Patel earned 500 total points
ID: 39267549
First Download all files to Folder using FTP tasks "Receive files" operation.

Then take Foreach loop and use File enumerator to iterate files from the (Download) folder.

Take each file path in variable.

Use appropriate task to data data to sql. if file structure is same then you can use Dataflow task if different then use bulk insert as well.

Foreach task
0
 

Author Comment

by:qube09
ID: 39267570
yes I agree that that is the potential path but there are no specifics.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
I have a large data set and a SSIS package. How can I load this file in multi threading?
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now