Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.14 KB

bit-functions-and-operators.md

File metadata and controls

21 lines (17 loc) · 1.14 KB
title Bit Functions and Operators
summary Learn about the bit functions and operators.
category user guide

Bit Functions and Operators

In TiDB, the usage of bit functions and operators is similar to MySQL. See Bit Functions and Operators.

Bit functions and operators

Name Description
BIT_COUNT() Return the number of bits that are set as 1
& Bitwise AND
~ Bitwise inversion
| Bitwise OR
^ Bitwise XOR
<< Left shift
>> Right shift