How to write a stored procedure in phpMyAdmin?

后端 未结 4 1496
青春惊慌失措
青春惊慌失措 2020-11-28 05:08

I am not able to find where to write the stored procedure in phpMyAdmin and how to call it using MVC architecture.

4条回答
  •  孤独总比滥情好
    2020-11-28 05:15

    In phpMyAdmin you can create the stored procedure in the SQL window.

    You may have to set the delimieter to something like "$$" instead of the default ";". You can change this from the bottom of the SQL window.

    enter image description here

    Also you can refer this: http://www.mysqltutorial.org/mysql-stored-procedure-tutorial.aspx

提交回复
热议问题