首页 / 操作系统 / Linux / MySQL不能创建奇数个中文字的表
create table 工
(
工作编号 char(8) not null,
最低工资 int,
最高工资 int
)[Err] 1005 - Can"t create table "工" (errno: 22)[SQL]
create table 工作表
(
工作编号 char(8) not null,
最低工资 int,
最高工资 int
)[Err] 1005 - Can"t create table "工作表" (errno: 22)[SQL]
create table 工作
(
工作编号 char(8) not null,
最低工资 int,
最高工资 int
)create table 工作列表
(
工作编号 char(8) not null,
最低工资 int,
最高工资 int
)这样就可以,所以,表的名称尽量不要是奇数个中文名称