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;

 

转载于:https://www.cnblogs.com/kobigood/p/6529023.html

你可能感兴趣的:(mysql添加字段语句)