SQL Server Transact Basic to Expert - Get number of characters using LEN

This blog shows how to use the LEN function to get the number of characters in a string using SQL.

Example:

SELECT LEN(N'This is a sample lenght to check')

The expected output would be 32
Ebook Download
View all
SQL Jobs
Read by 0 people
Download Now!
Learn
View all