Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

Passing Sub Query Result to variables in ssis

$
0
0
am getting result from for each loop conatiner and assigned those results to 4 variables which are if string datatype in my package. For example, Inside for each loop container---> under Variable mappings--> my variables are var1 0 var2 1 var3 2 var4 3 This 4 values i have assigned to 4 variables in my package.. Variablname type value catch1 string catch2 string catch3 string catch4 string Now i have taken one more variable called SQlquery.. and in its expression i have written an query were i uses these 4 variables for filter condition. And set the SQlQuery Variable property evalute expression to True. SQlQuery variable was used in OLEDB source Transformation. When i execute the package, the result of the SQLQuery variable is empty, since by default it is taking no value, how to pass the running values of these 4 variables in my query.

Viewing all articles
Browse latest Browse all 813

Trending Articles