MySQL VARCHAR like Data type with MIN and MAX character lengths

Posted by Phill Pafford on Stack Overflow See other posts from Stack Overflow or by Phill Pafford
Published on 2010-05-14T13:05:30Z Indexed on 2010/05/14 13:34 UTC
Read the original article Hit count: 280

Looking for a data type that is similar to VARCHAR as to the values I would like, but is there a way to have a MIN/MAX character length?

VARCHAR(6,10)

This would have a minimum of 6 characters and a maximum of 10 characters.

© Stack Overflow or respective owner

Related posts about mysql

Related posts about datatypes