Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Script Task Or Execute SQL Task to set variable value from Database

$
0
0

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


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>