I have number(20,4) field for which the data is coming in the following format :
120,24
200,45
I want to insert it into a table in the following format :
120.24
200.45
Below is the control file :
LOAD DATA
TRUNCATE INTO TABLE TEMP_TARIFICACION_FIJA_69
FIELDS TERMINATED BY '|'
OPTIONALLY ENCLOSED BY '"'
TRAILING NULLCOLS
(
ID EXPRESSION "TARIFICACION_FIJA_69_SEQ.nextval",
TIPO,
SECTARIFA,
IDFECTAR,
IDGRPDES,
IDCLAISDEST,
IDTIPUSO,
IDTIPHOR,
MONTO "REPLACE (:MONTO,',','.')",
IDOPERADOR,
LAST_MODIFIED_DATE "SYSDATE"
)
I want to replace the field MONTO. I am trying with the above control file but it is not working. How can I achieve this ? Please help me. Thanks in advance.