Declare @Id Int                               
Select @Id = Id From sysobjects Where Name = 'tblSmsConfig'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'Path')
 alter table tblSmsConfig  Add Path nVarchar(25) null