USE [HCITools]
GO

IF  NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[MonitoringAMR]') AND type in (N'U'))
BEGIN

    CREATE TABLE [dbo].[MonitoringAMR](
	    [MA_Date] [datetime] NOT NULL,
	    [MA_Database] [sysname] NOT NULL,
	    [MA_Table] [sysname] NOT NULL,
	    [MA_RowsPrioToDo] [int] NOT NULL,
	    [MA_RowsPrioDone] [int] NOT NULL,
	    [MA_RowsToDo] [int] NOT NULL,
	    [MA_RowsDone] [int] NOT NULL
    ) ON [PRIMARY]
END
GO