The COLLATE clause following each column name defines a collating sequence used for text entries in that column. The default collating sequence is the collating sequence defined for that column in the CREATE TABLE statement. Or if no collating sequence is otherwise defined, the built-in BINARY collating sequence is used.
整理序列有什么作用,什么是 BINARY 整理序列?
最佳答案
是sql引擎内部排序数据的方式。 Binary Collation 按照它的建议进行,它进行二进制比较。通常它是最快的排序规则,尽管我从未对其进行量化,因为它会检查位模式,这意味着它区分大小写和重音。
关于sql - 创建 sqlite 索引时 COLLATE 关键字的作用是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/799840/