help with UPDATE sql - Mailing list pgsql-general

From Kevin Heflin
Subject help with UPDATE sql
Date
Msg-id Pine.LNX.4.04.9903142251590.11689-100000@mercury.shreve.net
Whole thread Raw
List pgsql-general
Could some one offer a suggestion on the following.
I have a table of customer information. One of the fields of type int has
the value of a number 1-30.

Currently they are all set to either 10 or 20
I would like to be able to run an update statment, which will fill this
field with 1, then on the next row, 2, then 3, etc then 30, then start
back over at 1

Any suggestions would be appreciated.

Kevin



--------------------------------------------------------------------
Kevin Heflin          | ShreveNet, Inc.      | Ph:318.222.2638 x103
VP/Mac Tech           | 333 Texas St #619    | FAX:318.221.6612
kheflin@shreve.net    | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------


pgsql-general by date:

Previous
From: "Jay W. Summet"
Date:
Subject: PG 6.1 Archive Needed
Next
From: "Bernhard Krick"
Date:
Subject: how to start postmaster at system boot on linux?