Via Lattanzio,23 Milano
+39 02 36592025
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