Quantcast
Channel: User ethem - Stack Overflow
Viewing all articles
Browse latest Browse all 38

What collation to use for SQL Server database?

$
0
0

which collation do I need to choose? SQL Server 2008

I've found a nice and related post on stackoverflow.com regarding this question:How to choose collation of SQL Server database

So If I understand well (ref above link):

  • collation is used for sorting and comparing):
  • NVARCHAR is use for store data.

collation properties/parms

  • CI specifies case-insensitive
  • CS specifies case-sensitive
  • AI specifies accent-insensitive
  • AS specifies accent-sensitive

I need to create a database and will store Turkish and English, I'll choose CI and AI. I don't want case sensitive and no accent sensitive, so it's easy. I think this is clear for English, but Turkish has some special characters like üçö etc.

Question:

Since collation is not related to STORING data and I'll use NVARCHAR, why should I choose collation Turkish_100_CI_AI, I can also use Latin1_General_100_CI_AI, which is also my default on my SQL Server. Both are Latin script.

It's the same question for storing ENGLISH and FRENCH in the same database... Why should I use French_100_CI_AI in stead of Latin1_General_100_CI_AI?

Can someone advice ? Am I wrong?


Viewing all articles
Browse latest Browse all 38

Latest Images

Trending Articles



Latest Images