I have a column which is defined in the table as follows
td_long_shr_qty (numeric(18,6), null)
when i update the column I am getting an error
UPDATE
fact
SET
td_long_shr_qty = 1720187931245.8069
WHERE
id = 29
arithmetic overflow error converting numeric to data type numeric.
is there any issue with this number 1720187931245.8069 as it is less than precison 18 why do i get this error.please help.
td_long_shrbut your query is updatingtd_long_shr_qty? Are you looking at the wrong column definition?numeric(18,6)is "18 digits, with 6 of those appearing after the decimal point". You cannot fit the number you're showing us into such a type.