CHAR_LENGTH
Categories: String
CHAR_LENGTH
Returns the character length of the input string
Syntax
CHAR_LENGTH(expression STRING) → INTEGER
- expression: The expression (VARCHAR) to determine character length for
Examples
{{< codeheader "CHAR_LENGTH example" >}}
SELECT CHAR_LENGTH('get the char length')
-- 19
{{< codeheader "CHAR_LENGTH example" >}}
SELECT CHAR_LENGTH('DREMIO')
-- 6