DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Strings — Example 31

Quick explanation + ready code for: Strings.

SQL Strings Back to examples
Back to language
Syntax: Strings in SQL. ID: #31

Code

SELECT UPPER('lesson-17') AS upper_txt, LENGTH('lesson-17') AS len;

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.