LENGTH(str) : LENGTH : String Functions MySQL TUTORIALS


MySQL TUTORIALS » String Functions » LENGTH »

 

LENGTH(str)


For a string containing five two-byte characters, LENGTH() returns 10, whereas CHAR_LENGTH() returns 5.

OCTET_LENGTH() is a synonym for LENGTH().

SELECT LENGTH('text');


mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo String Functions
» LENGTH