What does LENGTH(‘SQL’) return in most SQL databases?

SQL Fundamentals Easy

SQL Fundamentals — Easy

What does LENGTH(‘SQL’) return in most SQL databases?

Key points

  • LENGTH() function returns the number of characters in a string.
  • The input 'SQL' has 3 characters, so the result is 3.
  • This function is useful for tasks like data validation and manipulation.

Ready to go further?

Related questions