Get startedGet started for free

LEN'gth of a string

Knowing the length of a string is key to being able to manipulate it further using other functions, so what better way to start the lesson?

This exercise is part of the course

Introduction to SQL Server

View Course

Exercise instructions

Retrieve the length of the description column, returning the results as description_length.

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

-- Calculate the length of the description column
SELECT 
  ___ (___) AS ___ 
FROM 
  grid;
Edit and Run Code