【问题标题】:What does Collation="A" mean in MySQL Indexes?在 MySQL 索引中 Collat​​ion="A" 是什么意思?
【发布时间】:2013-01-26 15:05:53
【问题描述】:

在 phpMyAdmin 中,我在一列上创建了唯一索引,在屏幕底部我有以下内容:

Indexes:
Keyname = "[Name of column]"
Type = "BTREE"
Unique = "Yes"
Packed = "No"
Column = "[Name of column]"
Cardinality = "7"
Collation = "A"
Null = ""
Comment = ""

排序规则“A”到底是什么意思? ANSI? ASCII?我的专栏在 utf8_unicode_ci 中,即使使用 utf8 字符,是否仍能保证它是唯一的?

【问题讨论】:

    标签: mysql phpmyadmin collation


    【解决方案1】:

    https://dev.mysql.com/doc/refman/5.7/en/show-index.html

    列在索引中的排序方式。这可以有值 A(升序)或 NULL(未排序)。

    【讨论】:

      猜你喜欢
      • 2016-05-11
      • 1970-01-01
      • 2014-01-16
      • 2020-02-15
      • 2011-04-16
      • 2017-02-06
      • 2015-01-03
      • 2015-12-30
      • 1970-01-01
      相关资源
      最近更新 更多