if not exists(select 1 from syscolumns where id=object_id('表名') and name='列名') alter table 表名 add 列名 data_type ... go