Re: coalesce function

Поиск
Список
Период
Сортировка
От Chris Angelico
Тема Re: coalesce function
Дата
Msg-id CAPTjJmqOKn+7-OOJ2OUD0kNsn-N7nb+Tox1MZ0NH19oTKK8Oug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: coalesce function  (David Johnston <polobo@yahoo.com>)
Ответы Re: coalesce function  (David Johnston <polobo@yahoo.com>)
Список pgsql-general
On Fri, Jun 21, 2013 at 7:36 AM, David Johnston <polobo@yahoo.com> wrote:
>         SELECT input
>         FROM ( SELECT unnest($1) AS input ) src
>         WHERE input IS NOT NULL AND input <> ''
>         LIMIT 1;

Does this guarantee the order of the results returned? Using LIMIT
without ORDER BY is something I've learned to avoid.

ChrisA


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

Предыдущее
От: Jason Long
Дата:
Сообщение: Re: Problem with left join when moving a column to another table
Следующее
От: Jason Long
Дата:
Сообщение: Easiest way to compare the results of two queries row by row and column by column