📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

TO_BITMAP



Converts a value to BITMAP data type.

Syntax

TO_BITMAP( <expr> )

Examples

SELECT TO_BITMAP('1101'); ┌───────────────────┐ │ to_bitmap('1101') │ ├───────────────────┤ │ <bitmap binary> │ └───────────────────┘

Was this page helpful?