sqlserver更新表结构(新增字段删除字段)

–新增列
ALTER table p_requirement add [followup_user] VARCHAR(50) NULL
alter table p_requirement add [followup_date] DATETIME NULL
–删除列
alter table p_requirement drop column [gjr_user]
alter table p_requirement drop column [gj_date]

猜你喜欢

转载自blog.csdn.net/q1923408717/article/details/117109953