pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
Cc: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: Inc
Date: Tue, 6 Mar 2007 09:40:49 -0800 (PST)
Message-ID: <52066.31587.qm@web31815.mail.mud.yahoo.com> (raw)
In-Reply-To: <55c095e90703060929w745cd560g12426c986b75e430@mail.gmail.com>

--- Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com> wrote:

> Thank you but I must inc an specific row. How to do that ?
> 

Does,

UPDATE your_table
SET your_row = your_row +1
WHERE your_pkey = <some value>;

not do what you need?

Regards,

Richard Broersma Jr.




view thread (9+ messages)  latest in thread

Message-ID: <52066.31587.qm@web31815.mail.mud.yahoo.com>
Permalink:  ../52066.31587.qm@web31815.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/52066.31587.qm@web31815.mail.mud.yahoo.com

 · 

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: rabroersma@yahoo.com, ezequias.rocha@gmail.com
  Subject: Re: Inc
  In-Reply-To: <52066.31587.qm@web31815.mail.mud.yahoo.com>

* 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