Thanks, I found a workaround.

WHERE MOD(DATAFLAGS,8) = 0

If anyone has a more elegant solution Id still like to here it.

Arthur

"Arthur Brand" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> Can anyone please tell me how to do a binary comparison in SAPDB. Something
> like '~', '^' and '&' in MS-SQL.
> I have an integer that I need to Binary AND with 7 to check if any of the
> lower 3 bits are set.
>
> Any input would be appreciated.
>
> Thanks
> Arthur



_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to