This is part 53 of the series of article on SSIS
Introduction:
In this article we are going to see on how to use the Multicast transformation in SSIS packaging. Multi cast transformation is used when a portion of the data needs to be transferred to some other flow which is something similar to Conditional task which do the same process.
The difference between the Multicast and the conditional split transformations are multicast direct each row of the source to the every output where as in the conditional split it directs a row to a single output. So using the multicast we can create data of separate logic and try to have it secured across the flow. This transformation can have a single input with multiple outputs across to pass the data.
[more]Let’s jump start to see this sample on how to set the properties of the control. You can look into my series of article on SSIS at the url – https://f5debug.net/tutorial/ssis.php
Steps:
Follow steps 1 to 3 on my first article to open the BIDS project and select the right project to work on integration services project. Once the project is created, we will see on how to use the Multi Cast Transformation task. Once you open the project just drag and drop the Multi Cast transformation control and a source provider as shown in the below image
Now we need to configure the source data source as shown in the below screen
Once the source is configured now drag and drop 3 destinations providers as shown in the below screen
1 – OLEDB provider task to update the table
2 – Flat file provider to update a file
3 – Excel provider to update to an excel file
Now let’s configure each destination as shown in the below image
Here we created a new table where it will copy the complete dataset to the destination table using the multicast provider.
Now let’s configure the flat file provider as shown in the below screen
Now let us configure the excel destination provider as shown below
Now all the destination providers are configured. Now go back to the Multicast provider and double click to see the configuration as shown below
Once everything is configured your screen should look like below screen
Now the package is ready to execute. Press F5 and you can see the screen looks like below which indicates that the execution is completed
To see the output in different destinations we can go ahead to the respective sections as shown below
Output1: Table
Output 2: Flat file
Output 3: Excel destination file
Conclusion:
So in this article we have seen on how to use the Multi Cast transformation task and the key configurations used in order to use this task handy.
No Comments
Hey! This is my first comment here so I just wanted to give a quick shout out and tell you I genuinely enjoy reading through your posts. Can you suggest any other blogs/websites/forums that deal with the same subjects? Thanks!|
Thanks for sharing your thoughts about . Regards|
Undeniably believe that which you said. Your favorite justification appeared to be on the web the easiest thing to be aware of. I say to you, I definitely get irked while people consider worries that they just do not know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side effect , people could take a signal. Will probably be back to get more. Thanks|