boolean query - Mailing list pgsql-general

From Ben-Nes Yonatan
Subject boolean query
Date
Msg-id 003901c14807$c96b2de0$ab5796d4@canaan.co.il
Whole thread Raw
List pgsql-general
Haloa!
i got a boolean column (named 'seen') which contain the values '1' and '0' (depends on the item)
now.. when i query the DB with the string "SELECT * FROM categories WHERE seen='1';"
it brings me all of the items including those which seen='0'
doesnt anyone know y?
with thx in advance
Ben-Nes Yonatan

pgsql-general by date:

Previous
From: "Mihai Gheorghiu"
Date:
Subject: Triggers and rules
Next
From: Keary Suska
Date:
Subject: Re: Quoting '?' placeholder in Perl's DBD::Pg?