Foreach Loop : ADO Enumerator – SSIS 2012 Tutorial Videos

This Video Tutorial illustrates how to use ADO enumerator to loop through a data table that loaded within the package.

ADO Enumerator loops through a data table that loaded into an Object type variable. The object type variable can be filled with a data table through an Execute SQL Task with a Full Result Set, or from a Data Flow Task with a Recordset Destination.

In this video you will learn how to use ADO enumerator to build a very simple SSIS packages execution framework.

We used a table for list of packages, which contains name of packages, execution order, and a flag for disable and enable. then we use a data flow task to fetch the table from the database into an object type variable. then the variable will be used in ADO enumerator and inside the loop structure we will use an Execute Package Task to execute packages in the execution order. at the final step a log entry will be written into a log table with name of package and execution datetime.

To view this tutorial follow link below:

To view other SSIS 2012 Tutorial Videos follow this link:

Reza Rad on FacebookReza Rad on LinkedinReza Rad on TwitterReza Rad on Youtube
Reza Rad
Trainer, Consultant, Mentor
Reza Rad is a Microsoft Regional Director, an Author, Trainer, Speaker and Consultant. He has a BSc in Computer engineering; he has more than 20 years’ experience in data analysis, BI, databases, programming, and development mostly on Microsoft technologies. He is a Microsoft Data Platform MVP for nine continuous years (from 2011 till now) for his dedication in Microsoft BI. Reza is an active blogger and co-founder of RADACAD. Reza is also co-founder and co-organizer of Difinity conference in New Zealand.
His articles on different aspects of technologies, especially on MS BI, can be found on his blog:
He wrote some books on MS SQL BI and also is writing some others, He was also an active member on online technical forums such as MSDN and Experts-Exchange, and was a moderator of MSDN SQL Server forums, and is an MCP, MCSE, and MCITP of BI. He is the leader of the New Zealand Business Intelligence users group. He is also the author of very popular book Power BI from Rookie to Rock Star, which is free with more than 1700 pages of content and the Power BI Pro Architecture published by Apress.
He is an International Speaker in Microsoft Ignite, Microsoft Business Applications Summit, Data Insight Summit, PASS Summit, SQL Saturday and SQL user groups. And He is a Microsoft Certified Trainer.
Reza’s passion is to help you find the best data solution, he is Data enthusiast.

Leave a Reply