Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: New lines in a string variable

Re: New lines in a string variable

From: Alton Ayers <altona_at_ditw.com>
Date: 1997/08/14
Message-ID: <33F3B94F.C37@ditw.com>#1/1

You can concatenate a NL to a string by using CHR(10).

Like: str_a := 'This is line 1.'||CHR(10)||'This is line 2.'||CHR(10);

Edmund Lou wrote:
>
> Is it possible to insert some type of newline character into a
> string variable such as LONG? I need it so that another application
> or Oracle will interpret these newline indicators and will indeed
> print it out as such when, say you query the LONG variable.
>
> Thanks.
>
> ---
> Edmund Lou
  Received on Thu Aug 14 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US