Skip to main content

Categories: Bitwise

BITWISE_OR

Returns the bitwise OR of two operands.

Syntax

BITWISE_OR(op1 NUMERIC, op2 NUMERIC) → NUMERIC

  • op1: First operand.
  • op2: Second operand.

Examples

BITWISE_OR example
SELECT BITWISE_OR(7, 4)
-- 7
BITWISE_OR example
SELECT BITWISE_OR(1, 2)
-- 3