Insert into IQS.CP_POSITION (PID,POSTIONNAME,AUDIOFILEID,CREATOR,UPDATETIME,CREATETIME,AUDIOPLAYLANGUAGE,AUDIONAME) values ('4d2ca1e7-94c7-4b94-87de-9a425639307c','大堂经理',((SELECT MAX(SER_NO)-1 FROM UPLOAD)+'@'+(SELECT MAX(SER_NO) FROM UPLOAD)),'ADMIN',sysdate,sysdate,'0@1','大堂经理.wav@大堂经理(粤).wav');
这是我的SQL, ((SELECT MAX(SER_NO)-1 FROM UPLOAD)+'@'+(SELECT MAX(SER_NO) FROM UPLOAD)) 这个地方出错了,不过不知道为什么会报这个问题。因为对应的字段类型是VARCHAR2 ,怎么报了无效数字了!!求解
------解决思路----------------------
字符连接要用‘
------解决思路----------------------
’,不是‘+’