🏠ReferenceFunctionsString FunctionsOCTET_LENGTHOn this pageOCTET_LENGTHOCTET_LENGTH() is a synonym for LENGTH().SyntaxOCTET_LENGTH(str)ExamplesSELECT OCTET_LENGTH('databend');+--------------------------+| OCTET_LENGTH('databend') |+--------------------------+| 8 |+--------------------------+