Subject Re: Bitwise comparison
Author Ali Gökçen
Hi Christophe,

if you like gymnastics like me,

...
where (mycol-((mycol/4)*4))>1
...

it is to check the 2nd bit of mycol.
you can easly check other bits with same way..

Or you can call UDF bitwise function.

Regards.

Ali

--- In firebird-support@yahoogroups.com, "Christophe Brunin"
<Christophe.Brunin@i...> wrote:
> Hi!
>
> Is it possible to make a bitwise comparison against a value stored
in a
> numeric column? ( Ex: Select ... From ... Where (Col1 & 2))
>
> Thanks,
> Christophe Brunin.