Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 429 Bytes

octet_length.md

File metadata and controls

20 lines (14 loc) · 429 Bytes
description
Returns the length of the string in bytes.

OCTET_LENGTH

Syntax

OCTET_LENGTH(input varchar) → int32

  • input: The string for which the length is returned.

Examples

{% code title="OCTET_LENGTH example" %}

SELECT OCTET_LENGTH('abc')
-- 3

{% endcode %}