I try to convert a decimal number contained within a string to a decimal and I get the following error:
Oracle Database
ORA-01722: invalid number 01722. 00000 - "invalid number" * Cause: The specified number was invalid. * Action: Specify a valid number.
SQL Code:
TO_NUMBER('5.0') AS numero
CAST('5.0' AS NUMBER) AS numero