Re: Query about Boolean Data Type

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Query about Boolean Data Type
Дата
Msg-id 20030809152137.GC22927@wolff.to
обсуждение исходный текст
Ответ на Query about Boolean Data Type  ("Richard Hurst" <richard.hurst@kirklees.gov.uk>)
Список pgsql-novice
On Fri, Aug 08, 2003 at 10:29:37 +0100,
  Richard Hurst <richard.hurst@kirklees.gov.uk> wrote:
> Hi
>
> This may seem a bit simplistic but how do you match a select on a
> boolean data column where the entry is false or null

select * from table where columun is false or column is null;
or
select * from table where not column is true;

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

Предыдущее
От: "John T. Yocum"
Дата:
Сообщение: CURRENT TIME causes server to shutdown connection
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CURRENT TIME causes server to shutdown connection