Calling Stored Procedure in foreach loop - only first executed

后端 未结 2 1777
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-23 22:39

This is really derivative of my earlier question today.

I created a Stored Procedure in my database that I wanted to call several times in a row from PHP.
Let\'s say

2条回答
  •  梦毁少年i
    2021-01-23 22:47

    A stored procedure may return more than one result set and it will always return one extra result set that does not contain any data but the overall error/warning information about the procedure call in addition to any explicitly returned result sets.

    source - http://forums.mysql.com/read.php?52,228296,228347#msg-228347

提交回复
热议问题