MySql Cursor - Creating a procedure

后端 未结 3 797
温柔的废话
温柔的废话 2021-01-06 00:12

i\'m trying to create a cursor for the first time. I have looked at the documentation, i understand the concept, but i can\'t seem to get it to even be declared...

I

3条回答
  •  渐次进展
    2021-01-06 01:07

    You forget to reset the delimiter to NOT ;

    delimiter ##
    ...
    end##
    

    need to put a space right after delimiter

    And the ending END does not require ;

提交回复
热议问题