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

execute sql task connection as variable

$
0
0

Hello,
I am using execute sql task (EST) to execute sp.
At present the connection is set to the one in connection manager so it is hard coded.
I have a variable called DBName and assigned to it "localhost.databasename"

Question:

How is it possible to set the connection property of the EST to the variable DBName.
I did go to expression of the EST and assigned connection to DBName but it says connection manager DBName does not exist


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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