Information Schema COLLATIONS Table
The Information Schema COLLATIONS table contains a list of supported collations, indicating their associated character sets and compilation status.
Column
Description
SHOW COLLATION WHERE Charset LIKE 'utf8mb3';SELECT * FROM information_schema.COLLATIONS
WHERE CHARACTER_SET_NAME LIKE 'utf8mb3';SHOW COLLATION WHERE Charset LIKE 'utf8';SELECT * FROM information_schema.COLLATIONS
WHERE CHARACTER_SET_NAME LIKE 'utf8';NO PAD Collations
SELECT collation_name FROM information_schema.COLLATIONS
WHERE pad_attribute = "NO PAD";
+------------------------------+
| collation_name |
+------------------------------+
| big5_chinese_nopad_ci |
| big5_nopad_bin |
...SELECT collation_name FROM information_schema.COLLATIONS
WHERE collation_name LIKE "%nopad%";
+------------------------------+
| collation_name |
+------------------------------+
| big5_chinese_nopad_ci |
| big5_nopad_bin |
...PAD SPACE Collations
Example
See Also
PreviousInformation Schema COLLATION_CHARACTER_SET_APPLICABILITY TableNextInformation Schema COLUMN_PRIVILEGES Table
Last updated
Was this helpful?

