how to check length in sql query code example Example: sql length -- Relevant for MS SQL (SQL Server) LEN('string')