SSIS 2014 - Repeating a SQL Task one time in the control flow..What task combinations/components would I use?

I have 5 SSIS SQL tasks,

I want it to flow like this Execute Sql Task 1
                                           Execute Sql Task 2
                                           Execute Sql Task 3
                                           Execute Sql Task 4
                                           Execute Sql Task 3
                                           Execute Sql Task 5

What task structures and containters would I use?
Paul MaurielloSoftware Programmer Developer Analyst EngineerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

YZlatCommented:
What kind of tasks are these? If SQL statements, you can use execute SQL.  In order to execute your tasks sequentially you can use a sequence container and drag and drop all your tasks in there
0
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Correct, multiple 'Execute SQL Task's.  If there's any additional requirements that you have and would like answers on, then you'll need to provide us more details.

Are these common enough that they can be put into a loop?  Does this order change based on certain conditions?  Want a message to say when it's done, it blows up?
0
Paul MaurielloSoftware Programmer Developer Analyst EngineerAuthor Commented:
These are stored procedures with in each task that do a large amount of heavy processing. The above chain is contingent on  the success of each one.  My question centers around Basically if Task 3 is successful then perform task 4 if successful then reprocess task 3 and on the success of that perform task 5...
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
Ok, so how do you define 'success'?  SSIS will define it as if the SP ran without error, regardless of whether it did or did not do what you wanted.  So if there's any business logic here, you will need the SP to return value(s) that mean success, then have the 'Execute SQL Task' store those as variables, then in the precedence constraints (aka arrows between components) you can add expressions that use those variables to do custom things.
0
YZlatCommented:
sequence container should work for you
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Paul MaurielloSoftware Programmer Developer Analyst EngineerAuthor Commented:
Thanks for your help :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.