statistics

bit_xor

Combine integers by exclusive OR; repeated identical values cancel in pairs. NULL inputs are skipped; empty input returns NULL.

Formal Syntax & Structure

sql syntaxsql
bit_xor(integer)

Working Example

Example Snippetsql
SELECT bit_xor(v) FROM (VALUES (1),(2),(6)) AS t(v);
SQL Reference