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: String expression to determine the length of.

Examples

SELECT LENGTH('DREMIO')
-- 6