if not exists (select 0 from syscolumns where id=object_id('ktvappenter') and name='BgPic2') ALTER TABLE ktvappenter Add BgPic2 nvarchar(256)