String and byte lengths
RETURN CHAR_LENGTH('Alice') AS chars, CHARACTER_LENGTH('Bob') AS characters, BYTE_LENGTH(X'CAFE') AS bytes, OCTET_LENGTH(X'CAFE') AS octets;Character count and encoded byte count are different operations. These names are parsed into dedicated function forms but are not executable. PATH_LENGTH is an unrelated, executable path function.
See supported features for executable alternatives.