Desmond,
Thursday, July 25, 2002, 2:42:31 AM, you wrote:

DL> Mysql documentation says the following:

DL> "values are stored using only as many characters as are needed, plus one 
DL> byte to record the length. Values are not padded; instead, trailing spaces 
DL> are removed when values are stored."


DL> So, then would there be anything wrong with making all my varchar's up to 
DL> 255. That is defining most of my fields to be varchar(255) even when i know 
DL> they may only go 100?

If you have indexes on your whole columns, index on varchar(255) is
bigger, than on varchar(100).




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to