BIT_LENGTH(str): Returns the length of the string str in bits : BIT_LENGTH « String Functions « MySQL Tutorial






mysql>
mysql> SELECT BIT_LENGTH('text');
+--------------------+
| BIT_LENGTH('text') |
+--------------------+
|                 32 |
+--------------------+
1 row in set (0.00 sec)

mysql>








23.4.BIT_LENGTH
23.4.1.BIT_LENGTH(str): Returns the length of the string str in bits
23.4.2.Use BIT_LENGTH with the value in a table