Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 SQL server brings back the wrong search result

Author  Topic 

chrisks
Starting Member

1 Post

Posted - 2012-09-03 : 20:45:09
I'm using SQL server 2008R2, version number is 10.5, in Turkish. I have setup a database and use the Turkish_CI_AS as its sort mode. But one problem happened, when I run the SQL command, if the SQL command includes the letter “i” or “I” will bring me the wrong search result, any help? Thanks in advance.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-09-03 : 20:55:24
based on what type of sorting you require overide collation in sorting statement inline using collate

ie like


...
ORDER BY ColumnName COLLATE <your required collation here>


------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -