bitxor

description

Syntax

BITXOR(Integer-type lhs, Integer-type rhs)

返回两个整数异或运算的结果.

整数范围:TINYINT、SMALLINT、INT、BIGINT、LARGEINT

example

1. mysql> select bitxor(3,5) ans;
2. +------+
3. | ans  |
4. +------+
5. |    7 |
6. +------+

8. mysql> select bitxor(1,7) ans;
9. +------+
10. | ans  |
11. +------+
12. |    6 |
13. +------+

keywords

1. BITXOR