日语下应该选哪个collation

sunlightbj 2007-11-14 09:22:28
有Jap, Jap_90, Jap_unicode, 另外还有CS/CI, AS/AI, KS/KI, WS/WI

我看了MSDN,但还是不清楚,大家都选什么呢? 谢谢大家

我们用的SQL Server2005, 数据中Unicode和非Unicode都有

MSDN这一段也不是很明白,到底该如何设置,莫非Windows设置成日语就可以了?

If you have a mix of Unicode and non-Unicode columns in your database, you should primarily use Windows collations. Windows collations apply Unicode-based sorting rules to both Unicode and non-Unicode data. This means that SQL Server internally converts non-Unicode data to Unicode to perform comparison operations. This provides consistency across data types in SQL Server, and also provides developers with the ability to sort strings in their applications that use the same rules that SQL Server uses.

SQL collations, on the other hand, apply non-Unicode sorting rules to non-Unicode data, and Unicode sorting rules to Unicode data, by using a corresponding Windows collation for the Unicode data. This difference can cause inconsistent results for comparisons of the same characters. Therefore, if you have a mix of Unicode and non-Unicode columns in your database, they should all be defined by using Windows collations so that the same sorting rules are used across Unicode and non-Unicode data.
...全文
74 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
fcuandy 2007-11-14
  • 打赏
  • 举报
回复
不是.
设了windows时区,只不过SQL安装时会找个默认值,与windows时区对应.
还是可以设回来.
sunlightbj 2007-11-14
  • 打赏
  • 举报
回复

那么CS,AS,KS,WS设置呢?

似乎有了Windows collation,就不需要SQL collation了,是这样吗?
liangCK 2007-11-14
  • 打赏
  • 举报
回复
帮顶.
-狙击手- 2007-11-14
  • 打赏
  • 举报
回复
Jap_unicode
fcuandy 2007-11-14
  • 打赏
  • 举报
回复
用 unicode 类的吧,通用.

我也不知道,乱说的,哈哈.

22,209

社区成员

发帖
与我相关
我的任务
社区描述
MS-SQL Server 疑难问题
社区管理员
  • 疑难问题社区
  • 尘觉
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧