SQL Server 2005 Unicode string sorting problem

╄→尐↘猪︶ㄣ 提交于 2019-12-12 16:42:43

问题


I have a table named 'Soum'. this table has NVARCHAR(100) field named 'Name'. But sort by name, that wrong working. Please see picture. After executing query.

First red row is wrong sorted.

I don't understand that why this is wrong working. I was checked character is same or not. But 'Ө' character is same in red rows. I'm trying to reinsert this 3 rows. But result is same.

How can I fix this error? I don't want to add Order field. What's wrong?


回答1:


Can you check sorting for "л" and "г"? Аdd 2 records for test with that names and sort them by name. I think problem in "г"



来源:https://stackoverflow.com/questions/5510048/sql-server-2005-unicode-string-sorting-problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!