如何在 phpMyAdmin 中编写存储过程? [英] How to write a stored procedure in phpMyAdmin?

查看:37
本文介绍了如何在 phpMyAdmin 中编写存储过程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我找不到在 phpMyAdmin 中编写存储过程的位置以及如何使用 MVC 架构调用它.

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

推荐答案

在 phpMyAdmin 中,您可以在 SQL 窗口中创建存储过程.

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

您可能需要将分隔符设置为$$"之类的东西,而不是默认的;".您可以从 SQL 窗口底部更改此设置.

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.

你也可以参考这个:http://www.mysqltutorial.org/mysql-stored-procedure-tutorial.aspx

这篇关于如何在 phpMyAdmin 中编写存储过程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆