Re: CONCAT function

From: Richard Huxton <dev(at)archonet(dot)com>
To: <newsy(at)lewczuk(dot)com>, "Lista dyskusyjna pgsql-general" <pgsql-general(at)postgresql(dot)org>
Subject: Re: CONCAT function
Date: 2003-09-16 12:34:19
Message-ID: 200309161334.19516.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 16 September 2003 13:45, Marek Lewczuk wrote:
> Hello,
> As I'm in the middle of the migration process form mysql to pg I found
> that there is no CONCAT function which is available in mysql. Can
> anybody tell me how to implement this function using plPERL or plPGSQL
> language ?

You want to use the || operator, e.g. 'hello' || ' ' || 'world'

Full details of operators and functions can be found in the "data types"
section of the documentation.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marek Lewczuk 2003-09-16 12:45:19 CONCAT function
Previous Message Francois Suter 2003-09-16 12:31:21 Re: 4D to PostgreSQL tools