I am working on a SSIS package on SQL Server 2012 where I have a Remote Stored Procedure (exists on a Server2) that returns a result of a Select query which I need to store in a table of a different SQL Server (Server1).
I have made 2 connections (OLEDB) and able to connect to servers and used a Execute Script Task with SourceConnection (Server2) and the SQLStmt specified as "EXEC SpName" and I can test the SP gets executed.
Now How do I save the result into the table of the Server1 and what all objects I need to use? Please guide me.
Thanks.