Forum Moderators: open
Right now I have the following stored as "TINYTEXT":
An IP Address
A Name
An Email Address
This seems wasteful, but I tried creating them as CHAR but it requires I put in a length. Once I put in a length, then it changes it to CHARVAR. I'm hesitant to set them as CHARVAR since they can be of any length.
Should I look to store them as something else?
Thanks for any help.
MySQL will let you specify an upper limit on the length of a varchar column, although there's also an implicit limit (255 bytes in versions older than 5.0.3, or up to 65,532 bytes in 5.0.3 or later.)