Subject | Re: Bitwise comparison |
---|---|
Author | Ali Gökçen |
Post date | 2005-07-08T13:47:15Z |
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:
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!in a
>
> Is it possible to make a bitwise comparison against a value stored
> numeric column? ( Ex: Select ... From ... Where (Col1 & 2))
>
> Thanks,
> Christophe Brunin.