Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 472 Bytes

character_length.md

File metadata and controls

20 lines (14 loc) · 472 Bytes
description
Returns the length of an input string.

CHARACTER_LENGTH

Syntax

CHARACTER_LENGTH(expression varchar) → int32

  • expression: String expression to determine the length of.

Examples

{% code title="CHARACTER_LENGTH example" %}

SELECT CHARACTER_LENGTH('SPICE')
-- 5

{% endcode %}