Hi.
I have 5 connection manager defined in the SSIS package. I have a variable called - MyServer, which will have the input data of the server name. Based on the value of MyServer, I want to select the connection manager and execute few select queries ( this is also available in variables ) and then output of the query to be exported to excel, which end user can download. I am not sure how to set the condition and export the data .
Example of what I mean is:
If Variable - MyServer contains value - abc , then select the connection manager abc1 , and then execute the queries available in variables - MyQuery1, MyQuery2, MyQuery3, MyQuery4 and export each of the data retrieved from each query to Excel1, Excel2, Excel3, Excel4
If Variable - MyServer contains value - def , then select the connection manager def1 , and then execute the queries available in variables - MyQuery1, MyQuery2, MyQuery3, MyQuery4 and export each of the data retrieved from each query to Excel1, Excel2, Excel3, Excel4
How to achieve this in SSIS ?
Thanks