tencent cloud

TDSQL Boundless

Description of Supported Bitwise Operations

Download
Modo Foco
Tamanho da Fonte
Última atualização: 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.


Ajuda e Suporte

Esta página foi útil?

comentários