ReferenceSQL ReferenceSQL FunctionsfunctionsOCTET_LENGTHVersion: current [24.2.x]On 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.ExamplesOCTET_LENGTH exampleSELECT OCTET_LENGTH('abc')-- 3