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

Cannot read variable value from another connection type

$
0
0

Hi,

In my ssis package control flow, in connection1 got the recordset and stored in object variable. Executing foreach loop container by using this object variable. Inside the Foreach loop container two SQL task , one is in connection1  and another one is connection2. The connection1  sql task is running. but in connection2 sql task is not running. Its giving error like" Error: Cannot assign a default value to a local variable. " "Must declare the variable value."

I want to update both server tables inside the loop. If i use another connection manager is throwing error.

Whats the mistake am i doing?

or i cant use like this?

Thank you guys


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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