Declare @Id Int                               
Select @Id = Id From sysobjects Where Name = 'TmpHavaleh'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'Price_Consumer')
  Alter Table TmpHavaleh Add Price_Consumer Money Null



Select @Id = Id From sysobjects Where Name = 'Havaleh'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'Price_Consumer')
  Alter Table Havaleh Add Price_Consumer Money Null
