Why would I use VARCHAR over TEXT in MySQL?

Posted by Tower on Stack Overflow See other posts from Stack Overflow or by Tower
Published on 2010-04-03T12:12:59Z Indexed on 2010/04/03 12:23 UTC
Read the original article Hit count: 291

Filed under:

Hi,

I noticed that in MySQL, both VARCHAR and TEXT offer variable-sized data. Well, VARCHAR is a bit more efficient in data storage, but still, TEXT MEDIUMTEXT and LONGTEXT offer a lot more potential. So, what are the real uses of VARCHAR?

© Stack Overflow or respective owner

Related posts about mysql