Re: plpgsql string concatanation

From: Joerg Erdmenger <joe(at)woerd(dot)com>
To: pgsql-general(at)postgresql(dot)org, Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Subject: Re: plpgsql string concatanation
Date: 2003-11-28 12:49:11
Message-ID: 200311281349.12525.joe@woerd.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> Is it posible to do string concatanation in plpgsql?
>
> Somthing like:
>
> sec := ''some string here'' . NEW.id;
>
> Is there a way to do this? I need te value of that new string for things
> that come after, and couldn't find much in the PL documentation.
String concatenation is done via the '||' operator see
http://www.postgresql.org/docs/current/static/functions-string.html

Joerg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philippe Lang 2003-11-28 13:29:22 Restore-point?
Previous Message Martin Marques 2003-11-28 12:45:24 Re: plpgsql string concatanation