I have say for example five variables. I want the values of these variables should be populated from database. I can use Script Task to connect to database and set the variable values by writing .net code.
I can do the same thing using Execute SQL Task by parameter mapping.
As far as performance is concerned,which one is better? Is there any other measures that should be considered in this scenario?
Thanks
Abhi