3

Using a parameter, @IsSuccess in stored proc. How to use that @IsSuccess parameter in SSIS Execute SQL Task and take that as output from that component to another component?

enter image description here

Hadi
  • 36,233
  • 13
  • 65
  • 124
niveditha
  • 33
  • 1
  • 3
  • look at output parameters for SSIS tasks: https://www.sqlshack.com/execute-sql-tasks-in-ssis-output-parameters-vs-result-sets/ – Alex Mar 02 '22 at 18:14

1 Answers1

1

You should use the following SQL statement in the Execute SQL Task to store the stored procedure output into an SSIS variable:

EXEC mystoredprocedure ? OUTPUT

Then in the Execute SQL Task editor, go to the parameter mapping form and select the SSIS variable you need to store that value.

More details can be found in the following article:

After storing that value, you should use this variable within the precedence constraints expressions:

Hadi
  • 36,233
  • 13
  • 65
  • 124