Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Executing Stored Procedure that executes a SQL statement and Store the Result in other Table

$
0
0

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.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>