ORA-00909:无效的参数数00909。从雇员中选择concat(last_name,'',job_id)作为“ Employee and Title”;

时间:2019-05-09 12:22:22

标签: sql oracle

我一直收到此错误。但是当我删除代码的一部分时,它就消失了

1 个答案:

答案 0 :(得分:1)

Oracle concat()函数仅允许2个参数。而是使用符合ANSI SQL ||的串联运算符:

select last_name || ' ' || job_id as "Employee and Title" from employees

https://docs.oracle.com/cd/B19306_01/server.102/b14200/operators003.htm