A

Admin • 833.24K Points
Coach

Q. Which of the following MySQL functions returns the length of a string in characters?

  • (A) LEN()
  • (B) LENGTH()
  • (C) STRLEN()
  • (D) CHARLEN()
  • Correct Answer - Option(B)
  • Views: 29
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

LENGTH() returns the length of a string in bytes. CHAR_LENGTH() returns the number of characters. LEN() is used in SQL Server, not MySQL.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.