sql向表中添加字段

--关于我们
if not exists (select * from syscolumns where id = object_id('dbo.[表名]') and name = 'aboutUs')
begin
alter table 表名 add aboutUs text NOT NULL DEFAULT('') with values  --关于我们
end
原文地址:https://www.cnblogs.com/superMay/p/6737087.html