how to verify a length of a varchar in MSSQL code example Example: sql length -- Relevant for MS SQL (SQL Server) LEN('string')