웹이야기

[MySQL] CHAR_LENGTH() 본문

D/MySQL

[MySQL] CHAR_LENGTH()

yeon.Biju 2020. 4. 8. 13:05

MySQL 문자열 함수와 연산자

 

CHAR_LENGTH()

   -

 

CHAR_LENGTH(str)

의 형태

 

Returns the length of the string str, measured in characters. A multibyte character counts as a single character. This means that for a string containing five 2-byte characters. LENGTH() returns 10, whereas CHAR_LENGTH() returns 5

'D > MySQL' 카테고리의 다른 글

[MySQL] CONCAT()  (0) 2020.04.08
[MySQL] CHARACTER_LENGTH()  (0) 2020.04.08
[MySQL] CHAR()  (0) 2020.04.08
[MySQL] BIT_LENGTH()  (0) 2020.04.08
[MySQL] BIN()  (0) 2020.04.08
Comments