Declare @Id Int                               
Select @Id = Id From sysobjects Where Name = 'Tbl_ScoreClub'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'FactorGuid')
  Alter Table dbo.Tbl_ScoreClub Add FactorGuid UNIQUEIDENTIFIER


Select @Id = Id From sysobjects Where Name = 'Tbl_ScoreClub'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'FactorDate')
  Alter Table dbo.Tbl_ScoreClub Add FactorDate datetime Default(Getdate())


Select @Id = Id From sysobjects Where Name = 'ClubDetailScore'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'FactorGuid')
  Alter Table dbo.ClubDetailScore Add FactorGuid UNIQUEIDENTIFIER
