Richard Dice rdice-e+AXbWqSrlAAvxtiuMwx3w at
Mon Jul 20 14:40:52 UTC 2009

Hi Jason,

> When creating a table in MySQL varchar supports a length of up to 255
> characters. Does anybody know what I use if I want to support say 10000 or
> even higher?

This is going to depend somewhat on what version of MySQL you are using.
Newer versions allow you to specify varchar up to varchar(65535).  For
example, see

If you need more than that, consider using the 'text' data type.
Before you use text data types you should read up on the various differences
between it and varchar in terms of text encoding, padding, indexing, storage
and efficiency.  It's all mentioned in the online manual, but you need to
look around in a few places for it.

 - Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Legacy mailing list