Re: Number timestamped rows - Mailing list pgsql-sql

From Jasen Betts
Subject Re: Number timestamped rows
Date
Msg-id j9at6c$7ro$2@reversiblemaps.ath.cx
Whole thread Raw
In response to Number timestamped rows  ("Jan Peters" <petersjan@gmx.at>)
List pgsql-sql
On 2011-11-02, Jan Peters <petersjan@gmx.at> wrote:
> Dear all,
> maybe a stupid question, but: I have a table that is ordered like this:
>

Tables aren't ordered.  Sometimes they may seem to be ordered, 
but they seldom stay that way for long.

> and I would like to number them according to their timestamps like this:

> How would I do this with an UPDATE statement (e.g.) in pgsql?

If you want ordered data use an ORDER BY clause in the select,
there is no other reliable way.


-- 
⚂⚃ 100% natural



pgsql-sql by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: the use of $$string$$
Next
From: Jasen Betts
Date:
Subject: Re: the use of $$string$$