Re: Convert Cursor to array

Поиск
Список
Период
Сортировка
От Ragnar Hafstað
Тема Re: Convert Cursor to array
Дата
Msg-id 1110798636.24917.22.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Convert Cursor to array  ("FERREIRA William (COFRAMI)" <william.ferreira@airbus.com>)
Список pgsql-general
On Mon, 2005-03-14 at 10:44 +0100, FERREIRA William (COFRAMI) wrote:

> so we choice to use a different solution which consist on using the
> index of a chapter and its evolution.
> if we have this data :
> chapter_id | evolution | index
>    1       |     0     |   1
>    2       |     0     |   2
>    3       |     0     |   3
>    4       |     1     |   2
>
> by using our sort function we obtain this :
> chapter_id | evolution | index
>    1       |     0     |   1
>    4       |     1     |   2
>    2       |     0     |   2
>    3       |     0     |   3
>

in what way is this different than
  ... ORDER BY index ASC, evolution DESC;
?

gnari



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

Предыдущее
От: "Alejandro D. Burne"
Дата:
Сообщение: Re: Temporary tables privileges
Следующее
От: Janning Vygen
Дата:
Сообщение: pg_restore: [custom archiver] could not uncompress data: incorrect data check