for loop container  in SSIS
WHAT IS THE USE OF THE FOR LOOP CONTINER PLEASE GIVE ME THE EXAMPLE REGARDS KOTI
August 13th, 2007 3:32pm

If you have a variable set to an integer of 10, you might use a for loop to iterate 10 times, the contents contained therein.A for loop will start at a given point (myVariable == 1) and increment by 1, perhaps, till it gets to the end (myEndVariable == 10).
Free Windows Admin Tool Kit Click here and download it now
August 13th, 2007 4:46pm

hi brother i placed the controleand declare a variable i with increment that is repeating to 10 time fine but inside the forloop of i place execute sl statment i want to insert the i valu to the sql command i was give but it always inserting 1 only but not accordingly what we are incrementing . so please give real time example for this usage @ = @ + 1
August 14th, 2007 7:30am

Configure the Exec SQL Task to use the variable. See the Parameter Mapping feature. Configuring the container should be simple enough. For Loop Container Samples(http://www.sqlis.com/310.aspx)
Free Windows Admin Tool Kit Click here and download it now
August 14th, 2007 1:17pm

Some more For Loop Container examples: Do something ten times Wait untill a certain time Wait for a couple of seconds / minutes http://microsoft-ssis.blogspot.com/2011/02/how-to-configure-for-loop-container.html Please mark the post as answered if it answers your question | My SSIS Blog: http://microsoft-ssis.blogspot.com
February 1st, 2011 2:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics