我在查询中收到以下错误:
在函数“DECFLOAT”的字符串参数中发现无效字符。
但是,我没有对我选择的任何字段进行任何更改:
select
RQH.COMPANY,
RQH.LAST_APRV_DT,
RQH.CREATION_DATE,
RQH.RELEASED_DATE,
RQH.REL_OPER_ID,
RQH.REQ_NUMBER,
RQH.REQUESTER,
RLN.COMPANY,
RLN.BUYER,
RLN.DESCRIPTION,
RLN.TRAN_UNIT_COST,
RLN.QUANTITY,
RLN.ITEM,
RLN.VEN_ITEM,
RLN.LINE_NBR,
RLN.MANUF_CODE,
RLN.MANUF_NBR,
RLN.VENDOR,
RLN.REQ_NUMBER,
RLN.ENTERED_UOM,
MMD.LINE_NBR,
MMD.DOC_NBR_NUM,
VEN.VENDOR_VNAME,
VEN.VENDOR_GROUP,
VEN.VENDOR
from mmd
join rln on MMD.COMPANY = rln.COMPANY and MMD.DOC_NBR_NUM = rln.REQ_NUMBER
and MMD.LINE_NBR = rln.LINE_NBR
join cpy on rln.company = cpy.company
join ven on VEN.VENDOR_GROUP = cpy.VENDOR_GROUP and VEN.VENDOR = rln.VENDOR
join rqh on RLN.COMPANY = RQH.COMPANY and RLN.REQ_NUMBER = RQH.REQ_NUMBER
where ven.vendor = 20200