C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
MySQL LENGTH() FunctionLENGTH(str) is a Sring function of MySQL. This method returns length of the given string ?str? which is measured in bytes. Syntax
select LENGTH(str); Example 1
select length('TheDeveloperBlog');
Output:
Example 2
select length('MY SQL STRING FUNCTION');
Output:
Next TopicMySQL String
|