SQL*Plus (MOSC)

MOSC Banner

How to remove carriage return in a Varchar2 field?

in SQL*Plus (MOSC) 1 commentAnswered

Hello,

I have database column with a varchar2(4000) that stores following exactly as shown here.

When generating an output out of this column, I need to club #1,2 and #3 above to be the part of first line without any word wrap. Remove any next line that is part of the value currently.

I tried using replace with chr(13) but that is not working.

Any other suggestions?

Thank you

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center