I have a problem when converting VARCHAR2 to Number in Oracle SQL.
My VARCHAR2 has the following characteristic: 0.000
For example: the value of Campo1 is 18.123 (with a .)
But I get an error:
- 00000 - "invalid number"
when trying to convert:
SELECT SUM(CAST(Campo1 AS NUMERIC)) AS VOLUME
FROM TESTE_NUMBER
WHERE Timestamp = '18/09/2020'
Is it possible to convert that string?
Thanks