Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> MySQL

ความยาวสูงสุดของแต่ละประเภทตัวระบุ (identifier) ใน MySQL

วัตถุบางอย่างใน MySQL เรียกว่า identifiers (ตัวระบุ) รวมถึง database, table, index, column, alias, view, stored procedure, partition, tablespace เป็นต้น Identifiers ถูกจัดเก็บด้วย Unicode (UTF-8) ความยาวสูงสุดของแต่ละประเภทตัวระบุแสดงในตารางต่อไปนี้:

ลำดับตัวระบุ (Identifier)ความยาวสูงสุด (ตัวอักษร)
1Database64
2Table64
3Column64
4Index64
5Constraint64
6Stored Procedure หรือ Function64
7Trigger64
8View64
9Event64
10Tablespace64
11Log File Group64
12Alias256
13Compound Statement Label16