![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This is the second package I have had this trouble with. The first time I only resolved the problem by recreating the package from the beginning. This time, recreating the package does not help. Here is my problem... I change the catalog of a SQL connection object via script, retrieve some value then loop back, change the catalog to a different database, retrieve some, value, etc. - All the looping works as expected. - When I execute the steps manually, all values are retrieved from the correct databases as expected. - When I run the whole package, the steps loop as expected, but the database connection refuses to change and I get only the value from the first database over and over. - I use msgboxes to display the catalog value of the connection and it shows the correct database, however, it still uses the wrong one. It seems I need to force the connection to close so it actually connects to the new database. Any ideas? Jim |
![]() |
| Thread Tools | |
| Display Modes | |
| |