mysql创建存储过程示例
请问在MySQL中怎么创建一个存储过程,比如简单的。语法,哪位大侠能提供点学习mysql的网站。...
请问在MySQL中怎么创建一个存储过程,比如简单的。
语法,哪位大侠能提供点学习mysql的网站。 展开
语法,哪位大侠能提供点学习mysql的网站。 展开
展开全部
ALTER PROCEDURE proc_name [characteristic ...]
characteristic:
| SQL SECURITY
| COMMENT 'string'
This statement can be used to change the characteristics of a stored procedure. More than one change may be specified in an ALTER PROCEDURE statement. However, you cannot change the parameters or body of a stored procedure using this statement; to make such changes, you must drop and re-create the procedure using DROP PROCEDURE and CREATE PROCEDURE.
就是说只能改名字和定义不能改里面的内容。要删了重新建。
characteristic:
| SQL SECURITY
| COMMENT 'string'
This statement can be used to change the characteristics of a stored procedure. More than one change may be specified in an ALTER PROCEDURE statement. However, you cannot change the parameters or body of a stored procedure using this statement; to make such changes, you must drop and re-create the procedure using DROP PROCEDURE and CREATE PROCEDURE.
就是说只能改名字和定义不能改里面的内容。要删了重新建。
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询