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

.....

 

posted @ 2019-01-07 22:00  uuhh  阅读(196)  评论(0编辑  收藏  举报