SSIS: how to read the result of a stored procedure into a global variable or something useful

StackOverflow https://stackoverflow.com/questions/4588520

  •  14-10-2019
  •  | 
  •  

Question

I have a stored procedure i want to run which will return a 0 or a 1. I would like to store that value in a ssis variable

Was it helpful?

Solution

  1. use a dataflow task
  2. define the variable using the "variable" tab on the left hand side (next to the toolbox tab)
  3. use the "exectute sql task"
  4. in the properties of the sql task setup a result set
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top