A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.w3resource.com/mysql/bit-functions/bitwise-xor.php below:

Website Navigation


MySQL BITWISE XOR() bit operator

MySQL BITWISE XOR OperatorLast update on August 10 2023 07:09:41 (UTC/GMT +8 hours) BITWISE XOR Operator

MySQL bit wise XOR operator returns an unsigned 64-bit integer.

Syntax:

^

MySQL Version: 8.0

Example:

Code:

SELECT  2 ^ 15

Explanation:

The above statement will return an unsigned integer for numbers specified as arguments.

Output:

mysql> SELECT  2 ^ 15;
+--------+
| 2 ^ 15 |
+--------+
|     13 | 
+--------+
1 row in set (0.00 sec)

Example:

Code:

SELECT  15 ^ 15;

Explanation:

The above MySQL statement will return an unsigned integer for specified numbers.

Output:

mysql> SELECT  15 ^ 15;
+---------+
| 15 ^ 15 |
+---------+
|       0 | 
+---------+
1 row in set (0.00 sec)

Previous: BITWISE OR
Next: LEFT shift and RIGHT shift




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4