Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Oracle Tip – Set Decimal separator for an oracle session

Oracle Tip – Set Decimal separator for an oracle session

To set in a single session the decimal separator, for example when you need to cast some string in numbers you can use the next istruction :

in this case the “decimal separator” is the point “.”.

if you want the parameter is set inside a procedure or a function you can write like this

tested on Oracle version: 10g , 11g

Tags: , , , , , ,

Lascia un commento