SQL FunctionsString FunctionsOCTET_LENGTHOn this pageOCTET_LENGTHOCTET_LENGTH() is a synonym for LENGTH(). Syntax OCTET_LENGTH(<str>) Examples SELECT OCTET_LENGTH('databend');+--------------------------+| OCTET_LENGTH('databend') |+--------------------------+| 8 |+--------------------------+