On this page

    Categories: Bitwise

    XOR

    Returns the bitwise XOR of two integers.

    Syntax

    XOR(expression1 int32, expression2 int32) → int32

    • expression1: The integer input.
    • expression2: The integer input.

    Examples

    SELECT XOR(1, 1)
    -- 0