ORA-00923: 未找到要求的 FROM 關鍵字


oracle處理 后台數據時,

select a.oga01 發貨單號,e.imaud04 箱/套
from oga_file a
left join ogb_file b on b.ogb01 = a.oga01
left join oeb_file c on c.oeb01 = b.ogb31 and c.oeb03 = b.ogb32
left join oea_file d on d.oea01 = c.oeb01
left join ima_file e on e.ima01 = b.ogb04
left join oah_file f on f.oah01 = d.oea31
left join sfb_file g on g.sfb22 = c.oeb01 and g.sfb221 = c.oeb03
where a.ogaconf <> 'X'

老是提示“ORA-00923: 未找到要求的 FROM 關鍵字” ,上網查看了很多有類似問題的網友,

大部分都是因為字段之間漏掉逗號,

最后排查發現原來是取別名的時候出現特殊字符報錯,把e.imaud04 箱/套 -> e.imaud04 "箱/套"就解決了。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM