![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
存储过程
天涯悠草
我是一棵小小草!!
展开
-
mysql存储过程
创建一个存储过程: create procedure productpricing( out pl decimal(8,2), out ph decimal(8,2), out pa decimal(8,2) ) begin select min(prod_price) into pl from prod转载 2013-08-03 11:17:48 · 324 阅读 · 0 评论 -
mysql游标
说明:mysql游标只能用于存储过程中。 创建存储过程: create procedure processorders() begin declare done boolean default 0; declare o int; declare t decimal(8,2); --定义游标 declare ord转载 2013-08-03 12:14:55 · 457 阅读 · 0 评论 -
mysql智能存储过程
创建存储过程: create procedure ordertotal( in onumber int, in taxable boolean, out ototal decimal(8,2) ) COMMENT 'Obtain order total,optionally adding tax' be转载 2013-08-03 11:53:58 · 783 阅读 · 0 评论 -
mybatis调用存储过程demo
mybatis调用存储过程时遇到的坑,问题不难,关键在于调试。原创 2017-03-22 08:56:22 · 441 阅读 · 0 评论