Hello,
I have an SSIS package in which I want to perform the data load in data warehouse from two different sources (flat file and sql table). Requirement is
1. Check the flag value in a table
- If it is True, the data warehouse should be loaded from the Sql source
- If it is False, data from flat file should be loaded into data warehouse
This can be done with Execute SQL task and 2 Data Flow Tasks with an expression in Precedence Constraint, but I want to do the same with Script Task. So basically based on the flag value, the Connection Type should be changed dynamically.
Will it be possible to change the Connection Type dynamically at run time using Script Task? If yes, Please help me on this.
Thanks