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

Home -> Community -> Usenet -> c.d.o.tools -> Re: a string with carrige returns

Re: a string with carrige returns

From: Mark D Powell <mark.powell_at_eds.com>
Date: 22 Jun 2001 12:39:02 -0700
Message-ID: <178d2795.0106221139.404d259@posting.google.com>

"Andrei Romazanov" <romazanov.andrei_at_gfos.de> wrote in message news:<9gvmcc$b9gcv$1_at_ID-70985.news.dfncis.de>...
> Hi,
>
> how can I arrange a string in a PL/SQL-function , which contains carrige
> returns?
>
> Thanks in advance
>
> Andrei

v_variable := v_var2||chr(10);

The chr function returns the ASCII character for the decimal value requested and I am pretty sure 10 = newline and 13 = carriage return. If you are using UNIX you probably want to use newline. DOS text files end in both characters.

Received on Fri Jun 22 2001 - 14:39:02 CDT

Original text of this message

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