- alter table 表名称 change 字段名称 字段名称 字段类型 [是否允许非空];
- alter table 表名称 modify 字段名称 字段类型 [是否允许非空];
- etc:>alter table user_info change nickname nickname varchar(30) null;
- alter table 表名称 change 字段原名称 字段新名称 字段类型 [是否允许非空];
- etc:>alter table news change content contents text not null;