On Thu, Mar 4, 2021 at 12:46 PM kernel <[email protected]> wrote: > > como puedo hacer que esta me funcione? > > select * from prueba where unidades = 1,0 >
Tendrás que cambiar el lc_numeric y hacer un to_number():
postgres=# set lc_numeric='es_ES.utf-8';
SET
postgres=# select to_number(',5','9D9');
to_number
-----------
0.5
(1 fila)
Un saludo,
Juan José Santamaría Flecha
