Android的排序sqlite的查询结果忽略大小写大小写、查询结果、Android、sqlite

由网友(/)分享简介:只是想知道,那里有排序的查询忽略案件的结果的一种方式。因为在开始用大写字母的那一刻字段进行排序,并把在列表的顶部,并开始用小写字母字段也进行排序,但正在把大写的字段后。just wondering if theres a way of sorting the results of a query ignoring c...

只是想知道,那里有排序的查询忽略案件的结果的一种方式。因为在开始用大写字母的那一刻字段进行排序,并把在列表的顶部,并开始用小写字母字段也进行排序,但正在把大写的字段后。

just wondering if theres a way of sorting the results of a query ignoring case. Cause at the moment fields starting with an upper case letter are sorted and put on top of the list and fields starting with lower case letter are also sorted but are put after the upper case fields.

感谢 - 迈克

推荐答案

ORDER BY列COLLATE NOCASE;

请参阅http://www.sqlite.org/datatype3.html#collation

阅读全文

相关推荐

最新文章