Re: Inserting CR/LF in a select? - Mailing list pgsql-general

From Bjørn T Johansen
Subject Re: Inserting CR/LF in a select?
Date
Msg-id 1061577121.20919.52.camel@pennywise.havleik.no
Whole thread Raw
In response to Re: Inserting CR/LF in a select?  ("David Olbersen" <DOlbersen@stbernard.com>)
List pgsql-general
Of course it will.... Thanks... :)

BTJ

On Fri, 2003-08-22 at 19:47, David Olbersen wrote:
> Bjørn T Johansen muttered:
>
> > I need to get two fields from two tables and append them into one field
> > with CR/LF in between, how is this done using a select?
>
> I believe something along the lines of:
>
>   SELECT column1||'\r\n'||column1 FROM table;
>
> will do the trick.



pgsql-general by date:

Previous
From: Hervé Piedvache
Date:
Subject: WAL Files checkpoint_timeout with voluminous delete/insert
Next
From: Bruno Wolff III
Date:
Subject: Re: convert interval info into days