sql server - Using ForLoop Container to do inserts in SSIS -


here's want - have data flow task simple oledb source , destination. oledb source sql query like

select * xyztable id = "uservariable" (integer type variable) 

i want put dft in forloop container , provide value of "uservariable" forloop container.

i have made variable "uservariable" int32 , initialized 1 in forloop configuration, have "uservariable <= 30" "evalexpression" , "uservariable = uservariable + 1" "assignexpression". now, how pass "uservariable" in dft?

thanks!

in ole db source, code sql this:

select * xyztable id = ?

then choose parameters button , specify uservariable.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -