BITOR
Descriptionβ
Used to perform a bitwise OR operation on two integers.
Integer range: TINYINT, SMALLINT, INT, BIGINT, LARGEINT
Syntaxβ
BITOR( <lhs>, <rhs>)
Parametersβ
parameter | description |
---|---|
<lhs> | The first BOOLEAN value to be evaluated |
<rhs> | The second BOOLEAN value to be evaluated |
Return Valueβ
Returns the result of the OR operation on two integers.
Examplesβ
select BITOR(3,5), BITOR(4,7);
+---------+---------+
| (3 | 5) | (4 | 7) |
+---------+---------+
| 7 | 7 |
+---------+---------+