Mega Code Archive
Categories
/
MySQL
/
String
LENGTH Function
mysql> mysql> SELECT LENGTH('cats and dogs'); +-------------------------+ | LENGTH('cats and dogs') | +-------------------------+ | 13 | +-------------------------+ 1 row in set (0.00 sec)