I am looking for a way to create a script component within SSIS which will accept multiple inputs.
I need this so I can do a form of custom joining.
It seems really silly that a script can have multiple outputs but only one input, I’m sure I must be doing something wrong.
Any help?
try putting a Union All component before your script component, and rather than having the columns match up, add columns to the output so that each element coming in winds up in a unique column.
Keep in mind that at first the SSIS script component will process items row by row, so a custom joining mechanism will need to be done using some collections and capturing the event that fires after all the rows have been processed.
Please keep in mind that I’m assuming you’re using a script component in the Data Flow and not the Control Flow, and that I’m assuming you’re using SSIS 2005.