How to... in update

From: "Marc Soler" <msoler(at)el-valles(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: How to... in update
Date: 2003-03-21 10:17:25
Message-ID: 014401c2ef93$161b15e0$0300a8c0@terra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Nigel Bishop 2003-03-21 10:21:26 Any Monitoring Tools for Postgres?
Previous Message Gaetano Mendola 2003-03-21 10:07:22 Index not used on a DISTINCT ON