Re: Number timestamped rows

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: Number timestamped rows
Дата
Msg-id j9at6c$7ro$2@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на Number timestamped rows  ("Jan Peters" <petersjan@gmx.at>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: the use of $$string$$
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: the use of $$string$$