0
点赞
收藏
分享

微信扫一扫

Incorrect parameters in the call to native function 'concat'

无愠色 2022-10-13 阅读 112

使用select进行语句拼接的时候,直接报错
Error Code : 1583 Incorrect parameters in the call to native function 'concat'
调用本机函数“concat”时参数不正确
原sql:
select concat('hello--',case line11 when 12 then 1 when 13 then 2 else 0 end as line12,"--world") from test;

经过调试发现去掉as line12就可以正常显示了
select concat('hello--',case line11 when 12 then 1 when 13 then 2 else 0 end,"--world") from test;

举报

相关推荐

0 条评论