CREATE TABLE [dbo].[ARCAlert]
(
[ARCAlertID] [int] NOT NULL IDENTITY(1, 1),
[ARCAlertDescription] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[JoinOperatorFID] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCAlert] ADD CONSTRAINT [PK_ARCAlert] PRIMARY KEY NONCLUSTERED ([ARCAlertID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCAlert] ADD CONSTRAINT [IX_ARCAlertDescription] UNIQUE NONCLUSTERED ([ARCAlertDescription]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCAlert] ADD CONSTRAINT [FK_ARCAlert_JoinOperator] FOREIGN KEY ([JoinOperatorFID]) REFERENCES [dbo].[JoinOperator] ([JoinOperatorID])
GO
GRANT SELECT ON [dbo].[ARCAlert] TO [MssExec]
GRANT INSERT ON [dbo].[ARCAlert] TO [MssExec]
GRANT DELETE ON [dbo].[ARCAlert] TO [MssExec]
GRANT UPDATE ON [dbo].[ARCAlert] TO [MssExec]
GO