DECLARE @Id Int                                                     
Select @Id = Id From sysobjects Where Name = 'TmpDrugHavaleh'
IF not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'TypeOfMedicine')
  Alter Table TmpDrugHavaleh Add TypeOfMedicine TINYINT DEFAULT(0);