KSQL中 left join table(f_attachlist(b.fid))报错!!!

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

KSQL中 left join table(f_attachlist(b.fid))报错!!!

var sql = " select b.fid ";
sql += " from CT_CUS_GSSB a ";
sql += " inner join CT_CUS_GSSBEntry b on a.fid = b.fparentid ";
sql += " left join table(f_attachlist(b.fid)) c on c.id = b.fid ";
sql += " where a.fid='" + detailid + "'";
在onload后置脚本中设置后,执行时提示
Caused exception message is: null
Caused exception message is: translate sql exception, message is
parse error. detail message is :

Error: expect token , but current token is , at line 1, column 100)
source sql is :
select b.fid from CT_CUS_GSSB a inner join CT_CUS_GSSBEntry b on a.fid = b.fparentid left join table(f_attachlist(b.fid)) c on c.id = b.fid where a.fid='Oumc/2tlTfusd4jXbvGTEavXMs0='
错误详细堆栈信息:com.kingdee.eas.ep.plugin.ScriptExecuteException: Plugin script execute error, please check whether script is right.
方案GS01中的脚本存在问题。
什么原因啊?


不懂,帮你顶,让技术同学回答吧
在线的英雄们,知道的留个言
使用oracle 11g 数据库,ksql 中不支持这种语法么? ksql转oracle的工具是正常的啊

KSQL中 left join table(f_attachlist(b.fid))报错!!!

var sql = " select b.fid "; sql += " from CT_CUS_GSSB a "; sql += " inner join...
点击下载文档
分享:
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息