title: How can I create a CHECK constraint on a VARCHAR column in SQL Server specifying a minimum data length?
body: <p>I have a <code>VARCHAR(30)</code> column in a Microsoft SQL Server database. I'd like to add a CHECK constraint that does not allow a value in the column to be less than 3 characters. What is the expression I must use?</p>