sql >> Base de Datos >  >> RDS >> PostgreSQL

¿Cómo eliminar retornos de carro y nuevas líneas en Postgresql?

select regexp_replace(field, E'[\\n\\r]+', ' ', 'g' )

lea el manual http://www.postgresql.org/docs/current/static/functions-matching.html