Good day,
Could you kindly help me. I have the following insert statement:
INSERT INTO GL_DAILY_RATES_INTERFACE(
conversion_rate)
select TO_NUMBER(CONVERSION_RATE)
from table1
I'm getting an "Invalid number" error because the CONVERSION_RATE column on table1 is a Varchar and conversion_rate column in GL_DAILY_RATES_INTERFACE is a number. So I'm trying to convert a varchar into a number, but using a TO_NUMBER(CONVERSION_RATE) does not work. What am I missing?
Below are the examples of values from table1
CONVERSION_RATE
22.29619
1.64097
2.17342
1241.84782
0.41423