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

Why Ole Db Command (ssis 2012 data flow) not recive the output parameter value from procedure ?

$
0
0

Hi everybody ,

I'm new with ssis 2012 and i happy to see the "OLE DB COMMAND" in the data-flow ,

in my data-flow in the "OLE DB COMMAND"  i am calling to sp : 'exec ? = dbo.tst_sclr_prc  @p1=? ,@p2=?' or

'exec ? = dbo.tst_sclr_prc  ? , ?'

sp looks like:

ALTER procedure  [dbo].[tst_sclr_prc] (@p1 int   , @p2 int output )

AS 
BEGIN
    set @p2  = @p1 + 1 ;
END;

in the column mappings  : int field name "ProgramCode" => @p1 ,

and the @p2, @RETURN_VALUE  - goes to 2 field that added before in "Derived Column".

look very simple BUT when executing the pkg it seems that  @p2, @RETURN_VALUE have no effect !

am i missing something ? do i need to change or to add a property in a component or at the pkg level ?

hope to solve this mitery with yours great    HELP     !!

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>