Is there a way to use a user defined variable to define a connection string for an SSIS OLE DB Connection?
1) I had originally set it up to use a package parameter.
2) I execute the SSIS Package from a file using xp_cmdshell in a SQL stored proc, but found out that package Parameters are read only.
- I got this error ... "Changing the Value of a variable failed because it is a parameter variable. Parameter variables are read-only"
3) So it looks like I need to use variables... However, I don't see a way to use a variable for the connection string. When I use the 'Parameterize' option for the connection, it only gives me the option to select a parameter, not a variable.
Any thoughts? Thanks!