little tips and tricks, which i stumbled upon randomly

Friday, September 5, 2014

How to remove new line character from column PL/SQL

You need to use translate function to get rid of chr(10) and chr(13).

Example:
select translate('with out
 new line',  'x' || chr(10) || chr(13), 'x') from dual