Bitwise exclusive OR in Oracle

前端 未结 3 1880
广开言路
广开言路 2021-01-18 07:34

In SQL Server I have been using the ^ symbol, however that doesn\'t seem to work in Oracle.

How do I do a bitwise exc

3条回答
  •  渐次进展
    2021-01-18 08:09

    There is the BITAND operator:

    select bitand(49,54)+0 from dual;
    

    You can build up the other operators from it.

提交回复
热议问题