if (not exists (select name from syscolumns where id = object_id('Pub_Album') and name = 'IsWeiKeAlbum')) Begin ALTER TABLE Pub_Album ADD IsWeiKeAlbum bit default(0) not null EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ÊÇ·ñΪ΢¿Îר¼­ type:checkbox default:0' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'Pub_Album', @level2type=N'COLUMN', @level2name=N'IsWeiKeAlbum' End