As we all know, some objects in MySQL are called identifiers. These objects include databases, tables, indexes, columns, aliases, views, stored procedures, partitions, table spaces, etc. Identifiers are stored using Unicode (UTF-8). The maximum length of each type of identifier is as shown in the following table:
Sr. Number | Identifier | Maximum length (characters) | |
---|---|---|---|
Database | 64 | ||
2 | Form | 64 | |
Column | 64 | ##4 | |
64 | 5 | ||
64 | ##6 |
||
64
|
7 |
||
64 | # #8 | View||
64 | ##9 Event |
||
64 | ##10 | Tablespace | |
11 | Log file group | ||
12 | Alias | ||
13 | Compound statement tag|||
The above is the detailed content of What is the maximum length of each type of identifier in MySQL?. For more information, please follow other related articles on the PHP Chinese website!