dbTalk Databases Forums  

SSIS and parametrized connection managers

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS and parametrized connection managers in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
cgian31
 
Posts: n/a

Default SSIS and parametrized connection managers - 06-02-2006 , 05:14 AM






I would like to create a package that connects to a fixed database
table, retrieves from there the name of an excel file to get data from,
and gets the data.

Basically the question is: can I configure the connection managers
dynamically?

I know I can do it programmatically, but this would mean to do
everything in the package programmatically, while I would like to make
the other tasks of the package visually from the SQL Server Business
Intelligence Development Studio.

Is it possible? Any other idea to solve it?


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SSIS and parametrized connection managers - 06-04-2006 , 05:30 PM






Hello cgian31,


You should be looking at Property Expressions. You may also want to take
a look at Configurations


Allan



Quote:
I would like to create a package that connects to a fixed database
table, retrieves from there the name of an excel file to get data
from, and gets the data.

Basically the question is: can I configure the connection managers
dynamically?

I know I can do it programmatically, but this would mean to do
everything in the package programmatically, while I would like to make
the other tasks of the package visually from the SQL Server Business
Intelligence Development Studio.

Is it possible? Any other idea to solve it?




Reply With Quote
  #3  
Old   
cgian31
 
Posts: n/a

Default Re: SSIS and parametrized connection managers - 06-07-2006 , 07:33 AM



In fact what I have done is to use a script task inside a foreach loop.
Via the script task I assign to the connectionstring property of the
connection manager a value which comes from another table I import.


Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SSIS and parametrized connection managers - 07-25-2006 , 01:32 PM



The connection Managers can be configured ideally through one of two methods

1. Configurations
2. Property Expression

Thanks


Allan

"cgian31" <cgian31 (AT) katamail (DOT) com> wrote

Quote:
I would like to create a package that connects to a fixed database
table, retrieves from there the name of an excel file to get data from,
and gets the data.

Basically the question is: can I configure the connection managers
dynamically?

I know I can do it programmatically, but this would mean to do
everything in the package programmatically, while I would like to make
the other tasks of the package visually from the SQL Server Business
Intelligence Development Studio.

Is it possible? Any other idea to solve it?




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.