v.23.7New Feature
Add OCTET_LENGTH Alias for length
AddOCTET_LENGTHas an alias tolength. Closes #52153. #52176 (FFFFFFFHHHHHHH).
Why it matters
Provides users with a familiar SQL function nameOCTET_LENGTH that returns the length of a string in bytes, improving compatibility and usability for those migrating from or accustomed to other SQL systems.How to use it
Simply use theOCTET_LENGTH function in your SQL queries as you would use length, for example:SELECT OCTET_LENGTH(column_name) FROM table_name;