I have an Oracle table column defined as NUMBER(9,6) to store Longitude. So values such as -123.123456
are valid entries. However, I get ora-16550: truncated result
when I insert or update it with such value.
I test with 123.123456
and -12.12345
and these values worked. Apparently, the negative sign is being treated as an additional character and causing it to fail.
Here's what I think is happening under the hood.
DECLARE p0 CHAR(9) = '-123.456789'
UPDATE blah
Boom!!
That negative sign probably caused the truncation. Is there fix?
question from:
https://stackoverflow.com/questions/66050958/ora-16550-truncated-result-oracle-ef-treats-negative-sign-as-an-additional-pre 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…