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