sql length example
Example 1: sql string length
SELECT length('abcd') FROM DUAL; -- 4 DUAL is for Oracle
Example 2: sql length
-- Relevant for MS SQL (SQL Server)
LEN('string')
SELECT length('abcd') FROM DUAL; -- 4 DUAL is for Oracle
-- Relevant for MS SQL (SQL Server)
LEN('string')