[dbo].[ARCTriggeredAlertOrderMap]
CREATE TABLE [dbo].[ARCTriggeredAlertOrderMap]
(
[ARCAlertDescription] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CustomerNumber] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[BranchFID] [int] NULL,
[OrderFID] [int] NULL,
[InvoicedHeaderFID] [int] NULL
) ON [PRIMARY]
GO
CREATE CLUSTERED INDEX [IX_ARCTriggeredAlertOrderMap_ARCAlertDescription] ON [dbo].[ARCTriggeredAlertOrderMap] ([ARCAlertDescription]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_ARCTriggeredAlertOrderMap_BranchFID] ON [dbo].[ARCTriggeredAlertOrderMap] ([BranchFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_ARCTriggeredAlertOrderMap_CustomerNumber] ON [dbo].[ARCTriggeredAlertOrderMap] ([CustomerNumber]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_ARCTriggeredAlertOrderMap_InvoicedHeaderFID] ON [dbo].[ARCTriggeredAlertOrderMap] ([InvoicedHeaderFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_ARCTriggeredAlertOrderMap_OrderFID] ON [dbo].[ARCTriggeredAlertOrderMap] ([OrderFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[ARCTriggeredAlertOrderMap] TO [MssExec]
GRANT INSERT ON [dbo].[ARCTriggeredAlertOrderMap] TO [MssExec]
GRANT DELETE ON [dbo].[ARCTriggeredAlertOrderMap] TO [MssExec]
GRANT UPDATE ON [dbo].[ARCTriggeredAlertOrderMap] TO [MssExec]
GO