WHAT IS THE DIFFERENCE BETWEEN CHAR_LENGTH AND LENGTH?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
MYSQL 
 1413  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    What is the difference between CHAR_LENGTH and LENGTH?

     The first is, naturally, the character count. The second is byte count. For the Latin characters the numbers are the same, but they’re not the same for Unicode and other encodings.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!