Skip to content

LENGTH4

SELECT LENGTH4('Oracle') AS "Length4"
FROM dual;
Length4
-------
6

The LENGTH4 function in Oracle SQL returns the length of a string, measuring it in characters, rather than bytes. The function returns 6, indicating that the string ‘Oracle’ consists of 6 characters.