Welcome Guest, Not a member yet? Register   Sign In
TEXT vs Varchar : need your advice.
#2

[eluser]Johan André[/eluser]
I usually use varchar if:

* The content is less than 255 characters

* If I need to do automatic case-insensitive compares ('My article' = 'MY ARTICLE' = 'my article')

All my filereferences is of type varchar. Most of my fields is too (names, slugs, tags, phonenumbers, email-adresses, zipcodes, citynames, adresses, usernames, passwords).


Messages In This Thread
TEXT vs Varchar : need your advice. - by El Forum - 08-15-2009, 04:07 AM
TEXT vs Varchar : need your advice. - by El Forum - 08-15-2009, 05:33 AM
TEXT vs Varchar : need your advice. - by El Forum - 08-15-2009, 05:40 AM
TEXT vs Varchar : need your advice. - by El Forum - 08-15-2009, 07:55 AM
TEXT vs Varchar : need your advice. - by El Forum - 08-15-2009, 08:00 AM
TEXT vs Varchar : need your advice. - by El Forum - 08-15-2009, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB