Character length
Command: select char_length('andyqan').
Function: Display the specified character length.
Application scenario: When checking the character length.
Example:
mysql> select char_length('andyqian'); +-------------------------+ | char_length('andyqian') | +-------------------------+ | 8 | +-------------------------+ 1 row in set (0.00 sec)
The above is the detailed content of How to display character length in MySQL. For more information, please follow other related articles on the PHP Chinese website!