CHAR_LENGTH Function : CHAR_LENGTH « String « SQL / MySQL






CHAR_LENGTH Function

    
mysql>
mysql> SELECT CHAR_LENGTH('cats and dogs');
+------------------------------+
| CHAR_LENGTH('cats and dogs') |
+------------------------------+
|                           13 |
+------------------------------+
1 row in set (0.00 sec)

mysql>

   
    
    
    
  








Related examples in the same category

1.Determining the Length of a Character String