![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
#4
| |||
| |||
|
|
hi all, I have 5 source data that contain a table with exact schema, now I need to load data from all 5 database into one staging database table. I have created one ssis package that load data from one database, then I use dts object on my C# code to load and modify the connection and variables with a loop to load data from the 5 databases, since the only difference for these data source is the database name. now the package need to run independently in the SQL server. I try to use a for loop with a Execute package task inside to call that package, how can I modify the connection of the child package in the loop? or should I create a package for every database? thx Kevin |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Allan, He said he was coding it in C#, then I called it VB. That's why I corrected it. BUT, there is no C# in DTS, so he must be talking about SSIS so my solution cannot work for him. And Allan is right regarding SSIS: try to use property expressions iso. C# script. SO, if anyone needs Kevin's problem answered for DTS, use my comment ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |