mysql添加字段语句

1.添加 varchar类型的字段:

alter table b_warehouse_message add column entity_warehouse_no_test varchar(48) CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT '实体仓库代码';

alter table b_warehouse_message change entity_warehouse_no_test entity_warehouse_no11 varchar(48) ;


ALTER TABLE b_warehouse_message DROP entity_warehouse_no_test;

 

posted @ 2017-03-10 09:31  KOBE-Jason  阅读(28671)  评论(0编辑  收藏  举报