I need to replace number format with dots and commas to simple decimal number.
Ex: if string is, 25.25.25,00, it should become 252525.00
How can this be achieved.
You can either consecutively apply REPLACE() functions as
REPLACE(REPLACE('25.25.25,00','.'),',','.')
or
apply first TO_NUMBER() and then TO_CHAR() function as
TO_CHAR(
TO_NUMBER('25.25.25,00','999999999D99', 'NLS_NUMERIC_CHARACTERS='',.'''),
'fm999999999D00'
)
presuming scale has at most two digits for all values that you have for the second case.
translate.