The answer to your question depends upon depends on the nature of the text
information you are going to store:
- The length of text you want to store.
- Database size and fragmentation considerations.
- Uppercase/Lower case significance
- Indexing (prior to 3.23).
> I am trying to determine when it is best to use
> varchar and when it is appropriate to use tinytext. I
> have looked at the manual and have read the difference
> between them but would like to have an understanding
> of this in more practical, real-life terms.
>
> Is a space between characters considered a character
> in both column types or does one handle it
> differently?
>
> When I use a varchar I have to define its maximum
> length. I don't have to declare max length in
> tinytext. does this make a difference when it comes to
> storage space?
>
> Thanks,
> Karen McAdams
>
>
> =====
> Karen McAdams
> http://kmcadams.com
> [EMAIL PROTECTED]
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.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
>
>
---------------------------------------------------------------------
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