X-Original-To: pgsql-admin@postgresql.org Received: from ptserver.net (ptserver.net [212.190.116.225]) by postgresql.org (Postfix) with ESMTP id 59E0F474E44 for ; Fri, 21 Mar 2003 05:20:29 -0500 (EST) Received: from terra (80-26-49-254.uc.nombres.ttd.es [80.26.49.254]) by ptserver.net (8.12.8/8.12.8) with SMTP id h2LAKDtn083554 for ; Fri, 21 Mar 2003 11:20:18 +0100 (CET) Message-ID: <014401c2ef93$161b15e0$0300a8c0@terra> From: "Marc Soler" To: Subject: How to... in update Date: Fri, 21 Mar 2003 11:17:25 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Archive-Number: 200303/336 X-Sequence-Number: 7976 Hi all, It's possible in postgres to increment a row in a UPDATE command. something like this: UPDATE table set col_name = 'foo', col_name2 ++ WHERE condition Thanks. -- Marc Soler