I am wondering if there is a way to execute a stored procedure in ADO.NET and return a result set to a different database. I would prefer not to use a script task if possible.
I have been trying to do this in a Dataflow task:Image may be NSFW.
Clik here to view.
I set it the execute statement in the expressions in the data flow task properties. And the query appears in the command task:
Image may be NSFW.
Clik here to view.
And I even get results when I preview is but an error is still there and when I try to map it to the destination it says there are no available input columns. The error on the ADO.NET Source states that the component needs to be disconnect connected before it can be connected when I click on the source the error: the component is not in a valid state pops up.
Any suggestions?