+ 1

CHAR_LENGTH vs CHARACTER_LENGTH (any difference)

CHAR_LENGTH Returns the length of a string (in characters) CHARACTER_LENGTH Returns the length of a string (in characters) I was looking through the SQL string function on w3sch and I saw this, the description is the same. Is there any difference between them at all?

6th Jun 2019, 2:47 AM
Joseph Ojo
Joseph Ojo - avatar
2 Answers
+ 1
They are synonyms and do the same thing. https://www.tutorialgateway.org/mysql-char_length-function/
20th Jun 2019, 6:41 AM
Tibor Santa
Tibor Santa - avatar
+ 2
thank you Tibor Santa
20th Jun 2019, 6:42 AM
Joseph Ojo
Joseph Ojo - avatar