MySQL bit wise OR operator returns an unsigned 64-bit integer.
Syntax:
|
MySQL Version: 8.0
Example
Code:
SELECT 2 | 5;
Explanation:
The above MySQL statement will return an unsigned integer for numbers specified as arguments.
Output:
mysql> SELECT 2 | 5; +-------+ | 2 | 5 | +-------+ | 7 | +-------+ 1 row in set (0.00 sec)
Previous: INVERT BITS
Next: BITWISE XOR
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