sql 数据表添加或删除或修改字段 alter

给表student添加字段 score

alter table student  add  score  int

删除表student中字段 score

alter table student drop column score

注:column是必须要有的!刚开始我没加老是出错!

修改表student中字段 score 属性

alter table student alter column score datetime

原文地址:https://www.cnblogs.com/fuge/p/2400684.html