Skip to main content
Version: current [26.x]

Categories: String

CHARACTER_LENGTH

Returns the length of an input string.

Syntax​

CHARACTER_LENGTH(expression varchar) → int32​

  • expression: String expression to determine the length of.

Examples

CHARACTER_LENGTH example
SELECT CHARACTER_LENGTH('DREMIO')
-- 6