if (not exists (select name from syscolumns where id = object_id('Pub_Meeting') and name = 'JiaoYanQuanGuid')) Begin ALTER TABLE Pub_Meeting ADD JiaoYanQuanGuid nvarchar(64) not null default '' EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属教研圈 type:selectbox fk_table:Pub_JiaoYanQuan fk_key:Guid fk_name:Name required:true required_msg:请选择所属教研圈 required_default:null' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Pub_Meeting', @level2type=N'COLUMN', @level2name=N'JiaoYanQuanGuid' End