摘要:
1.alter操作表字段 (1)增加字段 alter table 表名 add 字段名 字段类型; alter table student add name varchar(10); (2)修改字段 alter table 表名 change 旧字段名 新字段名 字段类型; alter table 阅读全文
摘要:
MySQL修改表结构操作命令总结 MySQL修改表结构操作命令总结 MySQL修改表结构操作命令总结 以下内容转自:http://www.jb51.net/article/58079.htm 表的结构如下: 复制代码代码如下: mysql> show create table person;| pe 阅读全文