For a SSIS, i have to transfer data from a server to another but on the final destination, i have a column like ID.
For determinate the new ID of each row, i have to execute a stored procedure on the final server.
Is-it possible to do that in DataFlow and avoid the Foreach Loop in ControlFlow ?
Regards,
Guillaume.
You can do this task using
OLEDB command. If your SP has areturnstatement than try to capture the return value and map it with your input columnThis statement will create a
@RETURN_VALUEwhich you need to map with the inputIDcolumn .Remember to create an InputID columnin the source itself as NULL or any value so that you can map this column inOLEDB componentwith the@RETURN_VALUETry this :-
@variable_nameis the output variable name used in your stored procedure