I might be blind, but I don't see how to CREATE the script component. I'm not asking why do an asynchronous, how to work with it, etc. I just want to know how to add it to my package, or how to transform an already existing component into an asynchronous one!
I'm using VS2008 with MSSQL 2008 R2.
I found how :
- Go in the Script Transformation Editor
- Select "Inputs and Outputs" from the leftmost part of the screen.
- Select your Output.
- Set "SynchronousInputID" to "None".
Thanks to this site.
Creating an Asynchronous Transformation with the Script Component
First bullet point under "Configuring Inputs, Outputs, and Output Columns"
Set the SynchronousInputID property of each output to zero to indicate that the output does not simply pass through data from an upstream component or transform it in place in the existing rows and columns. It is this setting that makes the outputs asynchronous to the input.
来源:https://stackoverflow.com/questions/7502084/how-to-create-an-asynchronous-script-component-in-ssis