Subject | Re: [firebird-support] Bitwise AND and OR ? |
---|---|
Author | Helen Borrie |
Post date | 2004-05-31T00:13:37Z |
At 11:09 PM 30/05/2004 +0000, you wrote:
bin_or in ib_udf.
/heLen
>Can someone tell me what the bitwise AND and OR operators are?They are not supported internally. Use the external functions bin_and and
>
>I have a bunch of binary flags stored in an integer field and I need
>to select only those where a certain flag is "on"...
>
>In MS SQL Server it was "&" and "|" and I changed the pipe to two
>pipes (||) and that appeard to work... but when I tried to change the
>ampersand to two ampersands (&&) FireBird did not appear to like
>that...
bin_or in ib_udf.
/heLen