C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL OCTET_LENGTH() FunctionOCTET_LENGTH(str) is a Sring function of MySQL. This method returns length of given string. Syntax
select octet_length(str); Example 1
select octet_length('TheDeveloperBlog');
Output:
Example 2
select octet_length('mysql);
Output:
Next TopicMySQL String
|