Stored Procedure returns incorrect scalar value of -1, instead of return value

后端 未结 4 660
日久生厌
日久生厌 2021-01-02 20:36

I am trying to return a scalar value from a stored procedure. I actually want to return the ID of a newly created record, but I have simplified my problem down to a stored p

4条回答
  •  生来不讨喜
    2021-01-02 21:02

    I've just implemented another option in my project. I feed in another output parameter for @return.

提交回复
热议问题