Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Does a collation have any influence over a query speed? Does the size of a table change depending of the collation?

If I want to build a website that must support all possible languages (lets take for e.g. Google) which would be the recommended collation?

I will need to store characters such as 日本語, my searches over the website will have to return something for the sóméthíng input, it must be case insensitive as well.

How do I know which is the best choice to make? Which collation better suits this case?

share|improve this question
4  
You might want to rephrase the question so that it doesn't sound so subjective - "best" collation by what measure? :) –  TML Jan 5 '11 at 6:47
    
The new title reads much better –  TML Jan 5 '11 at 8:10
add comment

2 Answers 2

up vote 9 down vote accepted

Generally speaking, one of the Unicode variants is probably the best for broad language support - UTF-8 is going to use less memory per codepoint, and thus will have a slight advantage in any time/space tradeoffs you find yourself in need of making; however, I think there are some of the more esoteric languages/scripts that UTF-8 cannot represent (but I'm not 100% certain of that, I haven't done an exhaustive study on the matter).

This Wikipedia article might be enlightening on the dis/advantages of each.

share|improve this answer
    
Yes, UTF-8 can handle the 1.1 million Unicode code points. –  vz0 Jan 14 '11 at 15:51
    
Thanks - I thought there were some of the Han characters or the like that were not supported in UTF-8, good to have a solid answer. –  TML Jan 20 '11 at 1:21
add comment

I believe that you should use a Unicode collation that is accent and case insensitive. Please read the MSDN articles Selecting Collation and Using sql collations and all linked articles.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.