XOR

Returns the bitwise XOR of two integers.

Syntax

XOR(expression1 int32, expression2 int32) → int32

  • expression1: The integer input.

  • expression2: The integer input.

Examples

XOR example
SELECT XOR(1, 1)
-- 0

Last updated