newline character in SQL - Mailing list pgsql-sql

From Sethi Tarun-ETS017
Subject newline character in SQL
Date
Msg-id D7A316136BB6D411A777001083FD087106DCFE90@plnt056.comm.mot.com
Whole thread Raw
Responses Re: newline character in SQL  (Rajesh Kumar Mallah <mallah@trade-india.com>)
List pgsql-sql
How can I remove the newline character from the value of a column.

For Example:
Select name, comments from table where comment like '%Fine%';
Results:
NAME        COMMENTS
John M.    This was a    Fine piece of     work.

Above, I'd like the Results to appear:
NAME        COMMENTS
John M.    This was a Fine piece of work.

I tried substr, instr, hedged right ... but can't get it to work.

Any help will be greatly appreciated.

Regards
TS


pgsql-sql by date:

Previous
From: "Mario Alberto Soto Cordones"
Date:
Subject:
Next
From: Mike Meyer
Date:
Subject: Rule for updating through a view.