pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurent Patureau <lpatureau@idfr.net>
To: pgsql-sql@postgresql.org
Subject: UPDATE with concatenate
Date: Thu, 07 Jun 2001 19:14:18 +0200
Message-ID: <5.0.2.1.0.20010607185707.00a88e90@172.16.48.1> (raw)

Hy,

I try to update a table:col with take the valueof this col and concatenate 
it with $val.
I don't want to select all value of table:col and addition $val at each one

I try :

UPDATE table SET col .= '$val'

But it doesn't work, any suggestion ?


pat




view thread (3+ messages)  latest in thread

Message-ID: <5.0.2.1.0.20010607185707.00a88e90@172.16.48.1>
Permalink:  ../5.0.2.1.0.20010607185707.00a88e90@172.16.48.1/
Also on:    postgresql.org/message-id/5.0.2.1.0.20010607185707.00a88e90@172.16.48.1

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lpatureau@idfr.net
  Subject: Re: UPDATE with concatenate
  In-Reply-To: <5.0.2.1.0.20010607185707.00a88e90@172.16.48.1>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox