I have two Foreach Loop,which hava same enumerated values.So how do I deal with it?
问题 I declare two variables as "Object" named a and b, and have a simple SQL task:. select code from code_list Using Full result set, I'm trying to pass the result to the variables declared(a and b) , and use them(a and b) on Script Task with two different foreach loops 。But it didn't work. Script Task: insert the result into two different tables(A and B). 回答1: Create 3 variables of type Object, only use one as ResultSet. Then Add a Script Task, and select 3 variables as Read/Write Variables.