sql-referencesql-functionsfunctionsOCTET_LENGTHVersion: 0.0.1On this pageOCTET_LENGTHCategories: StringOCTET_LENGTHReturns the length of the string in bytes.SyntaxOCTET_LENGTH(input varchar) → int32input: The string for which the length is returned.Examples{{< codeheader "OCTET_LENGTH example" >}}SELECT OCTET_LENGTH('abc')-- 3