Achieving ordered update

From: Allan Kamau <kamauallan(at)gmail(dot)com>
To: Postgres General Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Achieving ordered update
Date: 2010-03-25 12:02:17
Message-ID: ab1ea6541003250502n43a51ec2gce1a5edfc05305e5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
A classic problem. I would like to assign integer values (from a
sequence) to records in a table based on the order (of contents) of
other field(s) in the same table.
I come across the solution before but I simply may not recall and a
search returns no clues. Please point me to a resource with this
solution.

Allan.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Krzysztof Nienartowicz 2010-03-25 12:05:45 pgfoundry registration
Previous Message Devrim GÜNDÜZ 2010-03-25 11:22:00 Re: What datatype should I use to store an IP Address?