information_schema系统表——COLLATIONS
2017-11-15 14:44
381 查看
该表包含每个字符集的所有信息
The
provides information about collations for each character set.
character set with which the collation is associated.
is the default for its character set.
set is compiled into the server.
required to sort strings expressed in the character set.
查看方式:
1.SELECT
COLLATION_NAME FROM
INFORMATION_SCHEMA.COLLATIONS
[WHERE
COLLATION_NAME LIKE
'wild']
2.SHOW
COLLATION
[LIKE
'wild']
The
COLLATIONStable
provides information about collations for each character set.
INFORMATION_SCHEMAName | SHOWName | Remarks |
---|---|---|
COLLATION_NAME | Collation | |
CHARACTER_SET_NAME | Charset | MySQL extension |
ID | Id | MySQL extension |
IS_DEFAULT | Default | MySQL extension |
IS_COMPILED | Compiled | MySQL extension |
SORTLEN | Sortlen | MySQL extension |
COLLATION_NAMEis the collation name.
CHARACTER_SET_NAMEis the name of the
character set with which the collation is associated.
IDis the collation ID.
IS_DEFAULTindicates whether the collation
is the default for its character set.
IS_COMPILEDindicates whether the character
set is compiled into the server.
SORTLENis related to the amount of memory
required to sort strings expressed in the character set.
查看方式:
1.SELECT
COLLATION_NAME FROM
INFORMATION_SCHEMA.COLLATIONS
[WHERE
COLLATION_NAME LIKE
'wild']
2.SHOW
COLLATION
[LIKE
'wild']
相关文章推荐
- information_schema系统表——GLOBAL_STATUS and SESSION_STATUS
- mysql系统库INFORMATION_SCHEMA,MySQL,TEST,mysql系统表的作用
- information_schema系统表——COLUMN_PRIVILEGES
- information_schema系统表——TABLES
- information_schema系统表——TABLESPACES
- information_schema系列之字符集校验(CHARACTER_SETS,COLLATIONS,COLLATION_CHARACTER_SET_APPLICABILITY)
- SQL 利用INFORMATION_SCHEMA系统视图如何一步一步获取表的主外键信息
- information_schema系统表——ENGINES
- information_schema系统表——TABLE_CONSTRAINTS
- information_schema系统表——TABLE_PRIVILEGES
- information_schema系统表——EVENTS
- 探讨SQL利用INFORMATION_SCHEMA系统视图如何获取表的主外键信息
- information_schema.collations 学习
- information_schema系统表——COLLATION_CHARACTER_SET_APPLICABILITY
- information_schema系统表——TRIGGERS
- 探讨SQL利用INFORMATION_SCHEMA系统视图如何获取表的主外键信息
- information_schema系统表——USER_PRIVILEGES
- information_schema系统表——FILES
- SQL 利用INFORMATION_SCHEMA系统视图如何一步一步获取表的主外键信息
- INFORMATION_SCHEMA信息数据库----有时也称“数据词典”和“系统目录”