Error Code: 1318. Incorrect number of arguments for PROCEDURE company.new_procedure; expected 2, got
2015-10-05 09:31
573 查看
1、错误叙述性说明
2、错误原因
在调用存储过程中,须要传入两个參数,可是仅仅传了一个參数
3、解决的方法
call new_procedure(20150112,@num);
20:27:34 call new_procedure(20150112) Error Code: 1318. Incorrect number of arguments for PROCEDURE company.new_procedure; expected 2, got 1 0.000 sec
1 queries executed, 0 success, 1 errors, 0 warnings 查询:call query_student() 错误代码: 1318 Incorrect number of arguments for PROCEDURE test.query_student; expected 1, got 0 运行耗时 : 0 sec 传送时间 : 0 sec 总耗时 : 0 sec
2、错误原因
CREATE DEFINER=`root`@`localhost` PROCEDURE `new_procedure`(in `departId` int,out `num` int) BEGIN select count(t.depart_name) into num from t_department_info t where t.depart_id = departId; END
call new_procedure(20150112);
在调用存储过程中,须要传入两个參数,可是仅仅传了一个參数
3、解决的方法
call new_procedure(20150112,@num);
相关文章推荐
- LINGO中的集
- golang snmp开发学习笔记(二)
- Mac OSX 10.9 安装Django 1.8.5
- PCNlogo
- Google Calendar 与&nbs…
- How to got the Mac address from …
- Lingo中的集——基础介绍
- Golang编写简单图片服务器
- 7 TIPS How to Become a Good Hardware Design Engineer
- URAL 1348 Goat in the Garden 2(点到线段的距离)
- GOF 23 设计模式 之 模版方法模式(template method)
- Codeforces Yandex.Algorithm 2011 Round 1 85D 线段树
- GOF 23 设计模式之 解释器模式(Interpreter)与访问者模式(Visitor)
- 谷歌更换企业口号:从“不作恶”到“奉公守法”
- O!M GOD!天天这么加班,确定不会挂掉吗?
- GOF23设计模式之 命令模式command
- OS X 10.11搭建go语言1.5.1开发环境
- GOF23设计模式之 中介者模式Mediator
- <Diango 学习之 实现文章展示>
- 因为中国队赢了,再撸一下DJANGO的官方文档吧