Declare @Id Int                               
Select @Id = Id From sysobjects Where Name = 'AutoBackup'
if not Exists(SELECT id FROM syscolumns WHERE id = @Id  and Name = 'PathFile')
ALTER TABLE AutoBackup ADD  PathFile  varchar(150) Null



Select @Id = Id From sysobjects Where Name = 'AutoBackup'
if not Exists(SELECT id FROM syscolumns WHERE id = @Id  and Name = 'NameYear')
ALTER TABLE AutoBackup ADD  NameYear  varchar(5) Null
