mysql存储过程示例

删除存储过程:

drop procedure/function [if exists] film_in_stock;

查看存储过程或者函数状态:

show procedure/function status [like 'pattern']

查看存储过程或者函数的定义:

show create procedure/function sp_name

了解存储过程和函数信息:

select * from routines where ROUTINE_NAME='file_in_stock' G

.....

原文地址:https://www.cnblogs.com/huiandong/p/10235947.html