tencent cloud

TDSQL Boundless

Description of Supported Bitwise Operations

下载
聚焦模式
字号
最后更新时间: 2026-07-10 11:13:51
本文档由 AI 翻译
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.


帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈