Strings
LENGTH
Counts how many characters a string has.
Syntax
LENGTH(<text>)
CHAR_LENGTH(<text>)
Returns the number of characters, spaces included. CHAR_LENGTH does the same and is part of the SQL standard. Often used to check length: a password that's too short, a name that's too long.