添加字段语法
alter table table_name add column_name +字段类型+ 约束条件
给一个表增加多个字段:
use NatureData go alter table XunHu add MaleCount varchar(50) null, FemaleCount varchar(50) null, SubadultCount varchar(50) null, LarvaeCount varchar(50) null, TraceType varchar(50) null, MountainArea varchar(50) null, BehaviourType varchar(50) null, Area varchar(50) null, Phenology varchar(50) null; go