Hata: Arithmetic overflow error converting numeric to data type numeric.
Hatanın çözümü COLLATE .
SELECT S.FACTOR,S.*
, CONVERT(NUMERIC(3,1),S.FACTOR) AS PS
FROM IASBOMVARASSIGN S , IASBOMITEM I
WHERE S.CLIENT = ’00′ AND S.COMPANY = ’01′ AND S.MATERIAL = ‘HLB222K’ AND S.ATTRIBUTEKEY = ’02′
AND S.OPTIONKEY = ‘HĞH’
AND I.BOMITEM = S.BOMITEM AND I.CLIENT = S.CLIENT AND I.COMPANY = S.COMPANY
AND I.PLANT = S.PLANT AND I.MATERIAL = S.MATERIAL AND I.ITEMTYPE = ‘Z’ AND I.COMPONENT = ‘PS’
COLLATE SQL_Latin1_General_CP1_CI_AS