tencent cloud

TDSQL Boundless

Description of Supported Bitwise Operations

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-07-10 11:13:51
This document describes the support for bitwise operations by the read-only analysis instance and lists the supported data types for each operator's parameters. Parameter types and usage methods not listed in this document are not supported.

Supported Bitwise Operations

& Bitwise AND

Syntax: value1 & value2
The data types supported by value1 are: int, bigint, double, decimal, varchar, char.
The data types supported by value2 are: int, bigint, double, decimal, varchar, char.

| Bitwise OR

Syntax: value1 | value2
The data types supported by value1 are: int, bigint, double, decimal, varchar, char.
The data types supported by value2 are: int, bigint, double, decimal, varchar, char.

~ Bitwise NOT

Syntax: ~value1
The data types supported by value1 are: int, bigint, double, decimal, varchar, char.

^ Bitwise XOR

Syntax: value1 ^ value2
The data types supported by value1 are: int, bigint, double, decimal, varchar, char.
The data types supported by value2 are: int, bigint, double, decimal, varchar, char.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백