Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 1.25 KB

bit-functions-and-operators.md

File metadata and controls

21 lines (17 loc) · 1.25 KB
title summary aliases
Bit Functions and Operators
Learn about the bit functions and operators.
/docs/dev/functions-and-operators/bit-functions-and-operators/
/docs/dev/reference/sql/functions-and-operators/bit-functions-and-operators/

Bit Functions and Operators

TiDB supports all of the bit functions and operators available in MySQL 5.7.

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