> Varchars take up the space for all the chars defined.
This only applies to memory tables. For non-memory tables, the size of varchar columns depends on the actual string size.
(edited. Thanks for correcting!)
This only applies to memory tables. For non-memory tables, the size of varchar columns depends on the actual string size.
(edited. Thanks for correcting!)
From - http://dev.mysql.com/doc/refman/5.0/en/memory-storage-engine...
I had no idea about this either....