Forum Moderators: open

Message Too Old, No Replies

MySQL and Collation?

which one should i use...?

         

tonynoriega

9:04 pm on Jan 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Im in boise idaho, ...any preference i should be using on my database collation?

its default is: latin1_swedish_ci

geofflee

10:32 am on Jan 28, 2007 (gmt 0)

10+ Year Member



Collation controls how characters are compared. For example, is 'A' and 'a' considered equal? If not, which one should be ordered first? What about an accented 'a'? A case-insensitive collation (denoted by 'ci') would consider them equal, while a binary collation (denoted by 'bin') or case-sensitive collation (denoted by 'cs') would not.

So the answer to your question is that it really depends on your specific application. You may want to reference chapter 10 of the MySQL manual [dev.mysql.com ] to better understand collation and how to take advantage of it. Otherwise, there's not much to say without knowing what you intend to do.