How do I view my stored procedures in phpMyAdmin?(如何在 phpMyAdmin 中查看我的存储过程?)
问题描述
我在 phpMyAdmin 中创建了一个存储过程
I created a stored procedure in phpMyAdmin
CREATE PROCEDURE Sample()
SELECT * FROM feedback
在哪里可以查看此过程?如果在 phpMyAdmin 中不可能,那么有哪些好的程序可以编写、存储和查看存储过程、表等?
Where could I view this this procedure? If it's not possible in phpMyAdmin, what is/are some good program(s) that have the feature to write, store, and view stored procedures, tables, etc?
推荐答案
在phpmyadmin中查看存储过程:
查询:
SELECT routine_definition
FROM information_schema.routines
WHERE
routine_name = 'procedure_name' AND routine_schema = 'databasename';
这里是如何在 phpmyadmin 中到达那里.
Here's how to get there in phpmyadmin.
routines 选项在 phpmyadmin 中可用.在您至少拥有一个存储过程之前,该链接在 PHPmyadmin 中不可见.查看上图,然后单击 structure 选项卡下的 routines 链接.
The routines option is available in phpmyadmin. The link is not visible in PHPmyadmin until you have at least one stored procedure. See the above image and click the routines link under structure tab.
这篇关于如何在 phpMyAdmin 中查看我的存储过程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何在 phpMyAdmin 中查看我的存储过程?
基础教程推荐
- oracle区分大小写的原因? 2021-01-01
- 在 MySQL 中:如何将表名作为存储过程和/或函数参数传递? 2021-01-01
- 如何根据该 XML 中的值更新 SQL 中的 XML 2021-01-01
- 什么是 orradiag_<user>文件夹? 2022-01-01
- 如何在 SQL 中将 Float 转换为 Varchar 2021-01-01
- 二进制文件到 SQL 数据库 Apache Camel 2021-01-01
- MySQL 中的类型:BigInt(20) 与 Int(20) 2021-01-01
- 在多列上分布任意行 2021-01-01
- 表 './mysql/proc' 被标记为崩溃,应该修复 2022-01-01
- mysql选择动态行值作为列名,另一列作为值 2021-01-01
