D/MySQL

[MySQL] BIT_LENGTH()

yeon.Biju 2020. 4. 8. 12:45

MySQL 문자열 함수와 연산자

 

BIT_LENGTH()

   -

 

BIT_LENGTH(str)

의 형태

 

Returns the length of the string str in bits.

 

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