Return value from MySQL stored procedure

前端 未结 4 1469
北海茫月
北海茫月 2020-12-19 08:51

So I\'ve finally decided to get around to learning how to use stored procedures, and although I do have them working, I\'m unsure if I\'m doing it correctly - aka. the b

4条回答
  •  无人及你
    2020-12-19 09:35

    Stored PROCEDURES can return a resultset. The last thing you SELECT in a stored procedure is available as a resultset to the calling environment.. Stored FUNCTIONS can return only a single result primitive.
    You may also mark your parameters as INOUT parameters.

提交回复
热议问题