This document introduces supported bitwise operations in the read-only analysis engine, and enumerates type restrictions on input parameters. Input parameters and usage methods not mentioned in the document are not supported.
Supported Types of Bitwise Operations
Bitwise AND (&)
Syntax: value1 & value2
Supported data types for value1: int, bigint, double, decimal, varchar, and char.
Supported data types for value2: int, bigint, double, decimal, varchar, and char.
Bitwise OR (|)
Syntax: value1 | value2
Supported data types for value1: int, bigint, double, decimal, varchar, and char.
Supported data types for value2: int, bigint, double, decimal, varchar, and char.
Bitwise NOT (~)
Syntax: ~value1
Supported data types for value1: int, bigint, double, decimal, varchar, and char.
Bitwise XOR (^)
Syntax: value1 ^ value2
Supported data types for value1: int, bigint, double, decimal, varchar, and char.
Supported data types for value2: int, bigint, double, decimal, varchar, and char.
Was this page helpful?