Hi,
I intend to use SSIS Package configuration (Type: "SQL Server"). SSIS packages are executed through SQL Agent jobs.
There are separate SQL Server Databases for each environment (DEV/TEST etc). However, we have DEV/TEST/UAT..etc in the same SSIS server, so using an Environment Variable (indirect config) or a designated folder (XML config) to resolve the connection string to the Configuration database is not an option. (Otherwise, SSIS packages cannot be migrated to higher environments without editing them.)
The problem I am facing is like the chicken-egg problem. Configuration values are in different databases in relevant environments. How do I tell an SSIS package the connection string of the configuration database?
More specifically, how do I pass a connection string to an SSIS Package (via SQL Agent job properties) that points to the relevant config database?. This connection string should be used by SSIS Package "SQL Server" configurations.
I tried the following two methods, but both failed.
"dsrc_xxx" is the data source that points to the configuration database.
1) "Data Sources" in SQL Agent's SSIS job properties
2. "Set Values" in SQL Agent's SSIS job properties
It seems to me that the above two steps are executed only afterSSIS Package configurations have been retrieved, which means neither of the above two methods can set/override the "connection string" of the Data Source that SSIS Package "SQL Server" configuration uses.
Could someone please shed some light?
Thanks