BIT_LENGTH
Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API
Returns the number of bits in a string.
<string>: The string to measure.
Returns an integer representing the number of bits in the string.
- For UTF-8 strings, multi-byte characters contribute more bits proportionally.
- Each byte equals 8 bits.
Get the bit length of a string.
Returns 32 (4 characters × 8 bits per byte).