sql check length of char code example Example: sql length -- Relevant for MS SQL (SQL Server) LEN('string')