if not Exists(SELECT * FROM syscolumns WHERE id = (SELECT Id From sysobjects Where Name = 'AutoBackup') and Name = 'TotQty')
BEGIN 
	DROP TABLE [dbo].[AutoBackup]
	CREATE TABLE [dbo].[AutoBackup](
		[Qty] [SMALLINT] NULL,
		[PathFile] [VARCHAR](MAX) NULL,
		[TotQty] [SMALLINT] NULL
	) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
End