📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

OCTET_LENGTH



OCTET_LENGTH() is a synonym for LENGTH().

Syntax

OCTET_LENGTH(<str>)

Examples

SELECT OCTET_LENGTH('datalake'); +--------------------------+ | OCTET_LENGTH('datalake') | +--------------------------+ | 8 | +--------------------------+

Was this page helpful?