Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我执行了一个 SQLite 查询,但得到的结果不是我们需要的顺序,字符“á”显示在 z 之后。
如何配置我的查询以忽略特殊字符?
不确定您是否只想忽略所有具有这些特殊字符的结果,或者您在对结果进行排序时遇到困难。
您可以将此视为提示(而不是答案):
SELECT * FROM _table-name_ WHERE _column-name_ COLLATE Latin1_General_BIN NOT LIKE '%[^ a-zA-Z]%'