OERDER BY CHARACTER AND THE UPPER OR LOWER | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

OERDER BY CHARACTER AND THE UPPER OR LOWER

How can I order by a column firstly regarding its characters and secondly regarding its upper forum or lower forum?

20th Mar 2018, 7:38 AM
nancy snow
1 Answer
+ 1
You can use order by column_name COLLATE Latin1_General_CS_AS asc or COLLATE Latin1_General_CI_AS asc. Also you can find information about Case Sensitive collation sort order from the link below: http://rusanu.com/2012/11/23/case-sensitive-collation-sort-order/
2nd Apr 2018, 6:57 PM
Ahyan
Ahyan - avatar