赞
踩
1:修改表名 alter table 旧表名 rename to 新表名;
2:修改列名: alter table Students change 旧列名 新列名 数据类型;
3:修改某一列(字段)的数据类型:alter table Students modify 字段名 新的数据类型;
4:增加字段 : alter table Students add 新的字段名(列) 数据类型;
5:删除字段:alter table Students drop 字段名 ;
6:删除表 drop table 表名;
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。