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



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


SELECT @Id = Id From sysobjects Where Name = 'Tbl_ScoreClub'
IF not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'Id_Havaleh')
  Alter Table dbo.Tbl_ScoreClub Add Id_Havaleh BIGINT

