NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting output parameters from stored procedures

Hello,

I am calling a stored procedure in TestStand 4 however when I try to retrieve an output parameter using Get, an error of "The column '@X' was not returned from the SQL statement.".  I have setup the parameters including '@X' using Execute in the previous step.  I would appreciate it if someone could take a quick look to see if there is a small error being made.

0 Kudos
Message 1 of 2
(2,979 Views)
Try changing your operation from a Get to a Close ("Close - Close and Get output parameters").  The Get returns a record, while the Close should get the output value you want.
0 Kudos
Message 2 of 2
(2,928 Views)