How we can use mysql_affected_rows() in stored procedure

后端 未结 3 1803
清酒与你
清酒与你 2021-02-07 04:13

How we can use mysql_affected_rows() in stored procedure..

3条回答
  •  一向
    一向 (楼主)
    2021-02-07 05:03

    You cannot use mysql_affected_rows() in a stored procedure since it's a C API function. You can use FOUND_ROWS() function which gives a similar functionality. Refer this link for more details.

提交回复
热议问题