![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to desing a series of SSIS packages that will read their Connection Manager's connection string property from a package configurtion. I anticipate databases migrating between servers in the near future and do not want to re-design or re-enter connection strings, etc. I set up a single database that holds all my SSIS configurations. One table has connection strings that will be read by many packages. My issue is this: Suppose Package 1 uses Connection A and B, and I configure their connection strings to come from a Configuration table as described above, then I get two records in the table, one for each Connection, A and B. Now, suppose Package 2 uses Connection B and C. If I use the same table and same filter as is used by Package 1, then when all is said and done, I end up with two records in the table, this time for Connections B and C, but have lost the entry for Connection A. How do I make it so that it does not delete records that are not used by the package when it sets up the configuration filter? I suppose I could use a separate filter for each Connection, but with up the 6 connections in one package, that is a lot of repetetive work. Another way would be to extract the records from the config table after rows get added and compile them safely somewhere else, then, after all packages have been configured, load the complete set back into the original table. Again, this is exise! Any suggestions out there? Thanks in advance |
#3
| |||
| |||
|
|
I am trying to desing a series of SSIS packages that will read their Connection Manager's connection string property from a package configurtion. I anticipate databases migrating between servers in the near future and do not want to re-design or re-enter connection strings, etc. I set up a single database that holds all my SSIS configurations. One table has connection strings that will be read by many packages. My issue is this: Suppose Package 1 uses Connection A and B, and I configure their connection strings to come from a Configuration table as described above, then I get two records in the table, one for each Connection, A and B. Now, suppose Package 2 uses Connection B and C. If I use the same table and same filter as is used by Package 1, then when all is said and done, I end up with two records in the table, this time for Connections B and C, but have lost the entry for Connection A. How do I make it so that it does not delete records that are not used by the package when it sets up the configuration filter? I suppose I could use a separate filter for each Connection, but with up the 6 connections in one package, that is a lot of repetetive work. Another way would be to extract the records from the config table after rows get added and compile them safely somewhere else, then, after all packages have been configured, load the complete set back into the original table. Again, this is exise! Any suggestions out there? Thanks in advance -- Todd Chittenden |
![]() |
| Thread Tools | |
| Display Modes | |
| |