
[dbo].[NotificationValues]
CREATE TABLE [dbo].[NotificationValues]
(
[eventID] [int] NOT NULL,
[sequenceID] [int] NOT NULL,
[monitorID] [int] NOT NULL,
[paramID] [int] NOT NULL,
[validParamValue] [nvarchar] (1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[NotificationValues] ADD CONSTRAINT [PK__NotificationValu__64CCF2AE] PRIMARY KEY CLUSTERED ([sequenceID], [eventID], [paramID], [monitorID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[NotificationValues] ADD CONSTRAINT [FK__Notificat__event__65C116E7] FOREIGN KEY ([eventID]) REFERENCES [dbo].[TriggeringEvent] ([eventID])
GO
ALTER TABLE [dbo].[NotificationValues] ADD CONSTRAINT [FK__NotificationValu__66B53B20] FOREIGN KEY ([monitorID], [paramID]) REFERENCES [dbo].[MonitorParams] ([monitorID], [paramID])
GO