What’s the best way to configure parameters for a SSIS package? (I.e. what’s common/easy/simple)
I am developing an SSIS package and I want to specify the location of a folder to watch for source files. I want to make it as easy as possible for those who deploy the SSIS package.
For example, I see that it’s easy to specify connection strings for connection managers using dtexecui, but I don’t see a place for parameters. i.e. none of the variables show up in the “Set Values” tab.
I looked at package configurations but it seems they have to be created by a SSIS developer and not the SSIS package runner/deployer (I may be missing something)
Package configurations are created by the developer but they populate either an SQL table, an XML file, the registry or environment variables. So the selection of which values are populated is up to the developer but the actual values can be changed at deployment.
I’ve found that the best combination is to have the package configurations in an SQL table with the connection string for that table in an environment variable. That way you can maintain different environments for testing and production.