You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: character-set-and-collation.md
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ SELECT
76
76
77
77
### Character set and collation naming
78
78
79
-
A character set can have multiple collations, named in the `<character_set>_<collation_properties>` format. For example, the `utf8mb4` character set has a collation called `utf8mb4_bin`, which is a binary collation for `utf8mb4`. Multiple collation properties can be included in the name, separated by underscores (`_`).
79
+
A character set can have multiple collations, named in the `<character_set>_<collation_properties>` format. For example, the `utf8mb4` character set has a collation called `utf8mb4_bin`, which is a binary collation for `utf8mb4`. Multiple collation properties can be included in the name, separated by underscores (`_`).
80
80
81
81
The following table shows the common collation properties and meanings.
82
82
@@ -158,16 +158,16 @@ SHOW COLLATION WHERE Charset = 'utf8mb4';
Copy file name to clipboardExpand all lines: information-schema/information-schema-collations.md
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,6 @@ summary: Learn the `COLLATIONS` information_schema table.
7
7
8
8
The `COLLATIONS` table provides a list of collations that correspond to character sets in the `CHARACTER_SETS` table. Currently, this table is included only for compatibility with MySQL.
The description of columns in the `COLLATIONS` table is as follows:
@@ -53,6 +52,7 @@ The description of columns in the `COLLATIONS` table is as follows:
53
52
*`IS_DEFAULT`: Whether this collation is the default collation of the character set it belongs to.
54
53
*`IS_COMPILED`: Whether the character set is compiled into the server.
55
54
*`SORTLEN`: The minimum length of memory allocated when the collation sorts characters.
55
+
*`PAD_ATTRIBUTE`: Whether trailing spaces are ignored during string comparison. `PAD SPACE` means that trailing spaces are ignored (for example, `'abc'` equals `'abc '`), while `NO PAD` means that trailing spaces are significant (for example, `'abc'` does not equal `'abc '`).
0 commit comments