Tables [dbo].[Validation]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)6
Created7:35:05 PM Thursday, August 29, 2024
Last Modified7:36:32 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_Validation: ValidationIDValidationIDint4
No
1 - 1
Cluster Key IX_Validation_NameKey: NameKey\EffectiveDateUtcNameKeyvarchar(16)16
No
KeyValuevarchar(512)512
No
Cluster Key IX_Validation_NameKey: NameKey\EffectiveDateUtcEffectiveDateUtcdatetime8
No
ExpirationDateUtcdatetime8
Yes
IsSystemValidationbit1
No
((0))
Indexes Indexes
NameColumnsUnique
Primary Key PK_Validation: ValidationIDPK_ValidationValidationID
Yes
Cluster Key IX_Validation_NameKey: NameKey\EffectiveDateUtcIX_Validation_NameKeyNameKey, EffectiveDateUtc
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[Validation]
(
[ValidationID] [int] NOT NULL IDENTITY(1, 1),
[NameKey] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[KeyValue] [varchar] (512) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[EffectiveDateUtc] [datetime] NOT NULL,
[ExpirationDateUtc] [datetime] NULL,
[IsSystemValidation] [bit] NOT NULL CONSTRAINT [DF_Validation_IsSystemValidation] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Validation] ADD CONSTRAINT [PK_Validation] PRIMARY KEY NONCLUSTERED  ([ValidationID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Validation] ADD CONSTRAINT [IX_Validation_NameKey] UNIQUE CLUSTERED  ([NameKey], [EffectiveDateUtc] DESC) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[Validation] TO [MssExec]
GRANT INSERT ON  [dbo].[Validation] TO [MssExec]
GRANT DELETE ON  [dbo].[Validation] TO [MssExec]
GRANT UPDATE ON  [dbo].[Validation] TO [MssExec]
GO
Uses
Used By