Home » MYSQL » Data Types » Question
  1. To measure the length of a string in bytes, the operator used is __________.
    1. LEN()
    2. CHAR_LENGTH()
    3. SIZE()
    4. LENGTH()
    5. None of these
Correct Option: D

The LENGTH() operator is used to measure the length of an MySQL string in terms of bytes. To measure the length of the string in terms of number of characters, CHAR_LENGTH() is used.



Your comments will be displayed only after manual approval.