Re: update - Mailing list pgsql-novice

From cristi69
Subject Re: update
Date
Msg-id 003c01c1bf56$615c0dc0$7201a8c0@dmhi.ct.ro
Whole thread Raw
In response to update  ("cristi" <cristi@dmhi.ct.ro>)
List 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!


pgsql-novice by date:

Previous
From: denis@coralindia.com
Date:
Subject: Re: update
Next
From: Masse Jacques
Date:
Subject: references and inheritance