问题描述
在使用TableAdapter查询配置向导来构建SQL查询语句时检查报错,我键入的语句如下:SELECTT1.BJ_ID,T2.BJ_NAME,T2.BJ_MODEL,T1.OUTPUT_COUNT,CASET1.DELIVERYTYPEWHEN'A'THEN'领用'ELSE'核减'ENDASDELIVERYTYPE,nvl(t1.memos,'无')ASmemos,TRUNC(T1.OUTPUTDATETIME,'DD')ASOUTPUTDATE,T3.MEMBER_NAMEASRECEPTOR_NAME,T4.MEMBER_NAMEASOPERATOR_NAMEFROMBEIJIANOUTPUTT1,BEIJIANINFO1T2,BANMEMBERSINFOT3,BANMEMBERSINFOT4WHERET1.BJ_ID=T2.BJ_IDANDT1.RECEPTOR_ID=T3.MEMBER_IDANDT1.OPERATOR_ID=T4.MEMBER_IDAND(T1.PRINTSTATUS=1)报错如图但该语句我直接在plsql上执行完全没有问题,实在不明白怎么回事,请教高手!
解决方案
时间: 2024-09-19 19:38:25