SELECT length('abcd') FROM DUAL; -- Oracle
SELECT length('abcd'); -- MySql / PostGreSQL
SELECT len('abcd'); -- SQL Server
SELECT CHAR_LENGTH(column_name) AS 'alias' FROM table;
#example
select title, CHAR_LENGTH(title) as 'char_count' from books;
-- Relevant for MS SQL (SQL Server)
LEN('string')