BIT_LENGTH (Lakehouse v1)
Renvoie la longueur d’une chaîne en bits.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.bit_length(<expr>)Exemples Analyze
Section intitulée « Exemples Analyze »func.bit_length('Word')┌─────────────────────────┐│ func.bit_length('Word') │├─────────────────────────┤│ 32 │└─────────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »BIT_LENGTH(<expr>)Arguments
Section intitulée « Arguments »| Arguments | Description |
|---|---|
<expr> |
La chaîne. |
Type de retour
Section intitulée « Type de retour »BIGINT
Exemples SQL
Section intitulée « Exemples SQL »SELECT BIT_LENGTH('Word');┌────────────────────────────┐│ SELECT BIT_LENGTH('Word'); │├────────────────────────────┤│ 32 │└────────────────────────────┘