Re: Query about Boolean Data Type - Mailing list pgsql-novice

From Larry Rosenman
Subject Re: Query about Boolean Data Type
Date
Msg-id 74510000.1060439738@lerlaptop.lerctr.org
Whole thread Raw
In response to Query about Boolean Data Type  ("Richard Hurst" <richard.hurst@kirklees.gov.uk>)
List pgsql-novice

--On Friday, August 08, 2003 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 field='f' or field is null;

should do it.


>
> Thanks
>
> Richard
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: Upgrade 7.2 to 7.3
Next
From: Bruno Wolff III
Date:
Subject: Re: Upgrade 7.2 to 7.3