Mega Code Archive

 
Categories / MySQL Tutorial / Math Numeric Functions
 

BIT_XOR(expr)

Returns the bitwise XOR of all bits in expr. This function returns 0 if there were no matching rows. mysql> mysql> select BIT_XOR(1); +------------+ | BIT_XOR(1) | +------------+ |          1 | +------------+ 1 row in set (0.00 sec)