Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Collations on indexes in SQL Server

I am interested if there is a possibility to specify collation for a column when creating index that is different from the collation of that column? And when indexed, are string data sorted according to collation of column or collation of database?

like image 302
Bogi Avatar asked Jun 01 '11 10:06

Bogi


1 Answers

You can create the calculated field with needed collation and create the index on this field.

like image 75
ceth Avatar answered Sep 22 '22 20:09

ceth