Categories: String
LENGTH
Returns the length of an input string. If the character encoding isn’t specified, it assumes to UTF8.
Syntax
LENGTH([expression varchar]) → int32
- expression (optional): String expression to determine the length of.
Examples
LENGTH exampleSELECT LENGTH('DREMIO')
-- 6
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.