stored procedure returns varchar

后端 未结 3 1433
日久生厌
日久生厌 2020-12-30 09:33

I would like to know if in SQL is it possible to return a varchar value from a stored procedure, most of the examples I have seen the return value is an int.

3条回答
  •  离开以前
    2020-12-30 09:59

    A stored procedure's return code is always integer, but you can have OUTPUT parameters that are any desired type -- see http://msdn.microsoft.com/en-us/library/aa174792.aspx .

提交回复
热议问题