Solved

SSIS Connection as variable

Posted on 2013-06-21
2
375 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Over the last 2 years, I have been working on SSIS 2008. Really the tough tasks in SSIS are to deploy packages and pass parameters (Values from outside package). The latter is certainly a headache for developers, particularly for me. We had to ma…
SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

757 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

19 Experts available now in Live!

Get 1:1 Help Now