MySQL Forums
Forum List  »  Newbie

Re: problem creating a table
Posted by: Baris Cicek
Date: July 31, 2005 06:14PM

The number is the maximum length of the string. It does not store all that length unless you fill them. So on VARCHAR(100) field you can put "foo" and only 3char is stored. it's nothing to do with memory actually .

You can read related documentation about VARCHAR. There're plentiful information about storage conditions and stuff.

Options: ReplyQuote


Subject
Written By
Posted
July 31, 2005 04:10PM
July 31, 2005 04:45PM
Re: problem creating a table
July 31, 2005 06:14PM
July 31, 2005 07:04PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.