参数的传递:
在sql编程过 select 语句就是输出语句 ,所以存储过程可以看到结果
##参数的引入 create PROCEDURE arr( width int, height int )
BEGIN
SELECT width*height;
END
##调用 call arr(10,50)
本文共 197 字,大约阅读时间需要 1 分钟。
参数的传递:
在sql编程过 select 语句就是输出语句 ,所以存储过程可以看到结果
##参数的引入 create PROCEDURE arr( width int, height int )
BEGIN
SELECT width*height;
END
##调用 call arr(10,50)
转载于:https://my.oschina.net/2016jyh/blog/837548