Tables [dbo].[ARCAlertGroupAlertMap]
Properties
PropertyValue
HeapYes
Row Count (~)4
Created7:07:55 PM Thursday, December 17, 2009
Last Modified11:13:37 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Foreign Keys FK_ARCAlertGroupAlertMap_ARCAlertGroup: [dbo].[ARCAlertGroup].ARCAlertGroupFIDIndexes IX_ARCAlertGroupAlertMap_ARCAlertGroup_ARCAlert: ARCAlertGroupFID\ARCAlertFIDARCAlertGroupFIDint4
No
Foreign Keys FK_ARCAlertGroupAlertMap_ARCAlert: [dbo].[ARCAlert].ARCAlertFIDIndexes IX_ARCAlertGroupAlertMap_ARCAlertGroup_ARCAlert: ARCAlertGroupFID\ARCAlertFIDARCAlertFIDint4
No
Primary Key PK_ARCAlertGroupAlertMap: ARCAlertGroupAlertMapIDARCAlertGroupAlertMapIDint4
No
1 - 1
Indexes Indexes
NameColumnsUnique
Primary Key PK_ARCAlertGroupAlertMap: ARCAlertGroupAlertMapIDPK_ARCAlertGroupAlertMapARCAlertGroupAlertMapID
Yes
IX_ARCAlertGroupAlertMap_ARCAlertGroup_ARCAlertARCAlertGroupFID, ARCAlertFID
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
FK_ARCAlertGroupAlertMap_ARCAlertCascadeARCAlertFID->[dbo].[ARCAlert].[ARCAlertID]
FK_ARCAlertGroupAlertMap_ARCAlertGroupCascadeARCAlertGroupFID->[dbo].[ARCAlertGroup].[ARCAlertGroupID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ARCAlertGroupAlertMap]
(
[ARCAlertGroupFID] [int] NOT NULL,
[ARCAlertFID] [int] NOT NULL,
[ARCAlertGroupAlertMapID] [int] NOT NULL IDENTITY(1, 1)
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCAlertGroupAlertMap] ADD CONSTRAINT [PK_ARCAlertGroupAlertMap] PRIMARY KEY NONCLUSTERED  ([ARCAlertGroupAlertMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCAlertGroupAlertMap] ADD CONSTRAINT [IX_ARCAlertGroupAlertMap_ARCAlertGroup_ARCAlert] UNIQUE NONCLUSTERED  ([ARCAlertGroupFID], [ARCAlertFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCAlertGroupAlertMap] ADD CONSTRAINT [FK_ARCAlertGroupAlertMap_ARCAlert] FOREIGN KEY ([ARCAlertFID]) REFERENCES [dbo].[ARCAlert] ([ARCAlertID]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[ARCAlertGroupAlertMap] ADD CONSTRAINT [FK_ARCAlertGroupAlertMap_ARCAlertGroup] FOREIGN KEY ([ARCAlertGroupFID]) REFERENCES [dbo].[ARCAlertGroup] ([ARCAlertGroupID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[ARCAlertGroupAlertMap] TO [MssExec]
GRANT INSERT ON  [dbo].[ARCAlertGroupAlertMap] TO [MssExec]
GRANT DELETE ON  [dbo].[ARCAlertGroupAlertMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[ARCAlertGroupAlertMap] TO [MssExec]
GO
Uses