Skip to main content
Version: current [25.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