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

CHARACTER_LENGTH

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