Re: row numbering

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: row numbering
Дата
Msg-id 200502281106.38460.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: row numbering  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Список pgsql-general
Karsten Hilbert wrote:
> > > is there a way return a column with the row number automatically
> > > generated according the way the rows were processed by the query.
> >
> > No, but you can easily keep a counter in the client.
>
> How, then, do I do it if I "need" the "row number" in a view ?

Keep the counter in the client as you process or display the result
rows.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

В списке pgsql-general по дате отправления:

Предыдущее
От: "Sean Davis"
Дата:
Сообщение: Re: Reading from Mysql & writting in PGsql
Следующее
От: "Markus Wollny"
Дата:
Сообщение: Problems with pgcrypto and special characters