1:查看所有的存储过程、函数
show procedure status ;
show function status;
2:查看具体的某个函数的创建
show CREATE function Fnc_nextVal; #Fnc_nextVal 为函数的名称
3:查出库中所有的函数的名称
select `name` from mysql.proc where db = 'STSS' and `type` = 'FUNCTION' #STSS为库的库名
4:查出库中所有的存储过程的名称
select `name` from mysql.proc where db = 'STSS' and `type` = 'PROCEDURE' #STSS为库的库名