转自http://www.cnblogs.com/lmjob/archive/2008/09/22/1295849.html

添加字段:

alter table `user_movement_log` 
Add column GatewayId int  not null default 0 AFTER `Regionid` (在哪个字段后面添加)

 删除字段:

alter table `user_movement_log` drop column Gatewayid

调整字段顺序:

ALTER TABLE `user_movement_log`  CHANGE `GatewayId` `GatewayId` int not null default 0  AFTER RegionID 

相关文章:

  • 2021-11-20
  • 2022-12-23
  • 2021-11-18
  • 2021-04-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-02-09
猜你喜欢
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
相关资源
相似解决方案