DECLARE @id INT
Select @Id = Id From sysobjects Where Name = 'TblUseMind'
IF EXISTS(SELECT * FROM syscolumns WHERE id = @Id )
BEGIN
  Alter Table TblUseMind Add RouteCode VARCHAR(9)
  Alter Table TblUseMind Add FrequencyCode VARCHAR(9)
end