SQL Length Function
SQL > SQL String Functions >
The Length function in SQL is used to get the length of a string. This function has a different name for different databases:
The syntax for the Length function is as follows:
The length of the string str is returned.
We use the following table for our examples.
SELECT Length (Store_Name)
WHERE Store_Name = 'Los Angeles';
SELECT Region_Name, Length (Region_Name)