Re: cast bit to boolean?

From: Vivek Khera <khera(at)kcilink(dot)com>
To: Robert Hentosh <hentosh(at)io(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: cast bit to boolean?
Date: 2001-05-04 13:54:51
Message-ID: 15090.46251.734888.689983@yertle.kciLink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>>>>> "RH" == Robert Hentosh <hentosh(at)io(dot)com> writes:

RH> select * from t1 where (sel_a & b'100001' <> b'000000' );

Yep. That solution hit me just as the head hit the pillow last night,
too!

Thanks.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-05-04 13:57:02 Re: Case sensitive order by
Previous Message Clinton James 2001-05-04 13:49:55 Another "why am I not using the indicies?"