Tables [dbo].[CapacityThreshold]
Properties
PropertyValue
Row Count (~)4
Created9:42:11 AM Friday, December 7, 2018
Last Modified9:42:33 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_CapacityThreshold: CapacityThresholdIDCapacityThresholdIDint4
No
1 - 1
Check Constraints CK_CapacityThreshold_ThresholdPercent : ([ThresholdPercent]>=(0))Indexes IX_CapacityThreshold_ThresholdPercent: ThresholdPercentThresholdPercentint4
No
BackgroundArgbint4
No
((-1))
ForegroundArgbint4
No
((-16777216))
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_CapacityThreshold: CapacityThresholdIDPK_CapacityThresholdCapacityThresholdID
Yes
IX_CapacityThreshold_ThresholdPercentThresholdPercent
Yes
Check Constraints Check Constraints
NameOn ColumnConstraint
CK_CapacityThreshold_ThresholdPercentThresholdPercent([ThresholdPercent]>=(0))
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[CapacityThreshold]
(
[CapacityThresholdID] [int] NOT NULL IDENTITY(1, 1),
[ThresholdPercent] [int] NOT NULL,
[BackgroundArgb] [int] NOT NULL CONSTRAINT [DF_CapacityThreshold_BackgroundArgb] DEFAULT ((-1)),
[ForegroundArgb] [int] NOT NULL CONSTRAINT [DF_CapacityThreshold_ForegroundArgb] DEFAULT ((-16777216))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[CapacityThreshold] ADD CONSTRAINT [CK_CapacityThreshold_ThresholdPercent] CHECK (([ThresholdPercent]>=(0)))
GO
ALTER TABLE [dbo].[CapacityThreshold] ADD CONSTRAINT [PK_CapacityThreshold] PRIMARY KEY CLUSTERED  ([CapacityThresholdID]) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_CapacityThreshold_ThresholdPercent] ON [dbo].[CapacityThreshold] ([ThresholdPercent]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[CapacityThreshold] TO [MssExec]
GRANT INSERT ON  [dbo].[CapacityThreshold] TO [MssExec]
GRANT DELETE ON  [dbo].[CapacityThreshold] TO [MssExec]
GRANT UPDATE ON  [dbo].[CapacityThreshold] TO [MssExec]
GO
Uses