length is an unsigned integer constant. The maximum length for a VARCHAR string is 32,672 characters.
java.lang.String
VARCHAR
When CHARs and VARCHARs are mixed in expressions, the shorter value is padded with spaces to the length of the longer value.
The type of a string constant is CHAR, not VARCHAR.
If you use a VARCHAR as a key column of an index, limit the maximum size of
the VARCHAR to no more than half the page size to prevent inserts from failing.
See "Page size and key size" in