Chapter 13. Looping and Foreach Enumerators


In This Chapter

  • The For Loop

  • The Foreach Loop

  • Stock Foreach Enumerators

"IT'S ALWAYS EMPTY, AT LEAST WITH RESPECT TO BEING FULL."

KAMAL HATHI

Integration Services supports looping intrinsically with two containers called the For Loop and the Foreach Loop. These containers provide a way to repeatedly execute the same workflow in a controlled way. The For Loop uses expressions to determine when the loop should terminate. The Foreach Loop executes the body of the loop once for each item in a collection and terminates after the last element in the collection.



Microsoft SQL Server 2005 Integration Services
Microsoft SQL Server 2005 Integration Services
ISBN: 0672327813
EAN: 2147483647
Year: 2006
Pages: 200
Authors: Kirk Haselden

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net