Re: update

From: "cristi69" <cristiv69(at)yahoo(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: update
Date: 2002-02-27 06:17:05
Message-ID: 003c01c1bf56$615c0dc0$7201a8c0@dmhi.ct.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

This looks like it does what you want...

processdata=> select version();
version
---------------------------------------------------------------
PostgreSQL 7.1.3 on i686-pc-linux-gnu, compiled by GCC 2.95.4
(1 row)

processdata=> update my_table set codlm = ('22' || substring(codlm, 3))
where codlm like '45%';
UPDATE 3

I think that I need an update for Postgres!
On PostgreSQL 6.5 on i686-pc-linux-gnu, compiled by gcc egs-2.91.66 do not
work!

Thank you very much!

In response to

  • Re: update at 2002-02-26 19:07:24 from Jason Earl

Browse pgsql-novice by date

  From Date Subject
Next Message Masse Jacques 2002-02-27 09:00:39 references and inheritance
Previous Message denis 2002-02-27 05:36:52 Re: update