A plethora of connection managers in the old days... |
What has changed in SSIS 2012?
With SSIS 2012 when you use the new project deployment model, the Execute package task is now easier to setup and configure:For one, we just need to select the name of the package – any package within the current project – from a drop down list, as we will save quite a few clicks a we don’t need to create a configuration manager each time.
Point and click |
Second, we have the ability to bind the parameters of the child package to variable or parameters in the parent package, and once again, just by selecting the appropriate values from the dropdown lists.
Nice: The execute package task 'sees' the parameters defined in the child package |
Now, remember these benefits are only available when using the new project deployment model.
Rafael,
ReplyDeleteIn the old days as you refer "A plethora of connection managers in the old days..." normally those connections to packages are stored inside a table and called through a ForEachLoop Task in a master package.
But I agree... now is more simple using the new approach!
Regards,
Pedro
Pedro, Good call. Yes, some people store children package metadata in a table and use a for each loop conatiner to execute them. I don't use that approach that often as I don't like to give away the ability to execute multiple packages concurrently.
DeleteDear Rafael,
DeleteI completly understand you.
regards,
Pedro
PS: Also thanks for helping me and reza on the book!!:-)
but the child packages is not logged in [SSISDB].[catalog].[executions]
Deletekind regards Paeren
Paeren,
DeleteThanks for your comment. That's correct. To get that information you need to query [catalog].[executable_statistics] and [catalog].[executables]
Hey Rafael,
Deleteis there any smart way to execute sub packages in the main package?
i have around 60 sub packages so can you share any idea for this?
DeleteDear Rafael,
ReplyDeleteThanks for this valuable information. I wanted to ask you that if we pass a variable from parent package to a child package, then is it possible to capture the value of that variable in SSISDB after the process has been executed ?
Basically I am passing a batch_number value through to different packages contained in a sequence container and I am not able to find this variable's logged information after the process has been executed.
Please let me know.
Thanks
Asad