select name from mysql.proc where db=’数据库名’;
或者
select routine_name from information_schema.routines where routine_schema='数据库名';
或者
show procedure status where db='数据库名';
SHOW CREATE PROCEDURE 数据库.存储过程名;
本文介绍如何使用SQL语句查询MySQL数据库中的存储过程名称,提供了多种方法实现这一目标。
select name from mysql.proc where db=’数据库名’;
或者
select routine_name from information_schema.routines where routine_schema='数据库名';
或者
show procedure status where db='数据库名';
SHOW CREATE PROCEDURE 数据库.存储过程名;
1万+
632