Information Schema COLLATION_CHARACTER_SET_APPLICABILITY Table
The Information Schema COLLATION_CHARACTER_SET_APPLICABILITY
table shows which character sets are associated with which collations.
It contains the following columns:
Column | Description |
---|---|
COLLATION_NAME |
Collation name. |
CHARACTER_SET_NAME |
Name of the associated character set. |
COLLATION_CHARACTER_SET_APPLICABILITY
is essentially a subset of the COLLATIONS
table.
SELECT COLLATION_NAME,CHARACTER_SET_NAME FROM information_schema.COLLATIONS;
and
SELECT * FROM information_schema.COLLATION_CHARACTER_SET_APPLICABILITY;
will return identical results.
See Setting Character Sets and Collations for details on specifying the character set at the server, database, table and column levels.
Example
SELECT * FROM information_schema.COLLATION_CHARACTER_SET_APPLICABILITY WHERE CHARACTER_SET_NAME='utf32'; +---------------------+--------------------+ | COLLATION_NAME | CHARACTER_SET_NAME | +---------------------+--------------------+ | utf32_general_ci | utf32 | | utf32_bin | utf32 | | utf32_unicode_ci | utf32 | | utf32_icelandic_ci | utf32 | | utf32_latvian_ci | utf32 | | utf32_romanian_ci | utf32 | | utf32_slovenian_ci | utf32 | | utf32_polish_ci | utf32 | | utf32_estonian_ci | utf32 | | utf32_spanish_ci | utf32 | | utf32_swedish_ci | utf32 | | utf32_turkish_ci | utf32 | | utf32_czech_ci | utf32 | | utf32_danish_ci | utf32 | | utf32_lithuanian_ci | utf32 | | utf32_slovak_ci | utf32 | | utf32_spanish2_ci | utf32 | | utf32_roman_ci | utf32 | | utf32_persian_ci | utf32 | | utf32_esperanto_ci | utf32 | | utf32_hungarian_ci | utf32 | | utf32_sinhala_ci | utf32 | | utf32_german2_ci | utf32 | | utf32_croatian_ci | utf32 | +---------------------+--------------------+
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
© 2021 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/information-schema-collation_character_set_applicability-table/