Tables [dbo].[ARCAlertCriteria]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
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
Primary Key PK_ARCAlertCriteria: ARCAlertCriteriaIDARCAlertCriteriaIDint4
No
1 - 1
Foreign Keys FK_ARCAlertCriteria_ARCAlertCriteriaGroup: [dbo].[ARCAlertCriteriaGroup].ARCAlertCriteriaGroupFIDARCAlertCriteriaGroupFIDint4
No
Foreign Keys FK_ARCAlertCriteria_ARCCriteriaDefinition: [dbo].[ARCCriteriaDefinition].ARCCriteriaDefinitionFIDARCCriteriaDefinitionFIDint4
No
Value1decimal(12,2)9
Yes
Value2decimal(12,2)9
Yes
SQLClausevarchar(128)128
No
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_ARCAlertCriteria: ARCAlertCriteriaIDPK_ARCAlertCriteriaARCAlertCriteriaID
Yes
80
Foreign Keys Foreign Keys
NameColumns
FK_ARCAlertCriteria_ARCAlertCriteriaGroupARCAlertCriteriaGroupFID->[dbo].[ARCAlertCriteriaGroup].[ARCAlertCriteriaGroupID]
FK_ARCAlertCriteria_ARCCriteriaDefinitionARCCriteriaDefinitionFID->[dbo].[ARCCriteriaDefinition].[ARCCriteriaDefinitionID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[ARCAlertCriteria]
(
[ARCAlertCriteriaID] [int] NOT NULL IDENTITY(1, 1),
[ARCAlertCriteriaGroupFID] [int] NOT NULL,
[ARCCriteriaDefinitionFID] [int] NOT NULL,
[Value1] [decimal] (12, 2) NULL,
[Value2] [decimal] (12, 2) NULL,
[SQLClause] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCAlertCriteria] ADD CONSTRAINT [PK_ARCAlertCriteria] PRIMARY KEY NONCLUSTERED  ([ARCAlertCriteriaID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARCAlertCriteria] ADD CONSTRAINT [FK_ARCAlertCriteria_ARCAlertCriteriaGroup] FOREIGN KEY ([ARCAlertCriteriaGroupFID]) REFERENCES [dbo].[ARCAlertCriteriaGroup] ([ARCAlertCriteriaGroupID])
GO
ALTER TABLE [dbo].[ARCAlertCriteria] ADD CONSTRAINT [FK_ARCAlertCriteria_ARCCriteriaDefinition] FOREIGN KEY ([ARCCriteriaDefinitionFID]) REFERENCES [dbo].[ARCCriteriaDefinition] ([ARCCriteriaDefinitionID])
GO
GRANT SELECT ON  [dbo].[ARCAlertCriteria] TO [MssExec]
GRANT INSERT ON  [dbo].[ARCAlertCriteria] TO [MssExec]
GRANT DELETE ON  [dbo].[ARCAlertCriteria] TO [MssExec]
GRANT UPDATE ON  [dbo].[ARCAlertCriteria] TO [MssExec]
GO
Uses