Skip to main content

TO_BITMAP

Converts a value to BITMAP data type.

Syntax

TO_BITMAP( <expr> )

Examples

SELECT TO_BITMAP('1101');

┌───────────────────┐
│ to_bitmap('1101')
├───────────────────┤
<bitmap binary>
└───────────────────┘
Did this page help you?
Yes
No
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today