SQLyog:Error Code : 1583 Incorrect parameters in the call to native function ‘concat‘
生活随笔
收集整理的這篇文章主要介紹了
SQLyog:Error Code : 1583 Incorrect parameters in the call to native function ‘concat‘
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
錯誤原因例如上圖所示:這里大概率原因是因為我們粗心大意,在調用concat函數時沒有在最后一個變量前加上逗號’,‘:
create procedure p7(in month int ) begindeclare result varchar(10);casewhen month >= 1 and month <=3 thenset result = '第一季度';when month >= 4 and month <=6 thenset result = '第二季度';when month >= 7 and month <=9 thenset result = '第三季度';when month >= 10 and month <=12 thenset result = '第四季度';elseset result ='非法參數';end case;select concat('您輸入的月份為:',month,'所屬季度為:'result); end;總結
以上是生活随笔為你收集整理的SQLyog:Error Code : 1583 Incorrect parameters in the call to native function ‘concat‘的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 决策树:ID3C4.5cart算法(从原
- 下一篇: 设计一个person类java_定义一个