Tables [dbo].[DocumentDeletionReason]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)5
Created3:48:38 PM Thursday, December 6, 2018
Last Modified7:35:56 PM Wednesday, February 28, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_DocumentDeletionReason: DocumentDeletionReasonIDDocumentDeletionReasonIDint4
No
1 - 1
Cluster Key IX_DocumentDeletionReason_Reason: ReasonReasonvarchar(64)64
Yes
SystemTypebit1
No
((0))
Indexes Indexes
NameColumnsUnique
Primary Key PK_DocumentDeletionReason: DocumentDeletionReasonIDPK_DocumentDeletionReasonDocumentDeletionReasonID
Yes
Cluster Key IX_DocumentDeletionReason_Reason: ReasonIX_DocumentDeletionReason_ReasonReason
Yes
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[DocumentDeletionReason]
(
[DocumentDeletionReasonID] [int] NOT NULL IDENTITY(1, 1),
[Reason] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[SystemType] [bit] NOT NULL CONSTRAINT [DF_DocumentDeletionReason_SystemType] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentDeletionReason] ADD CONSTRAINT [PK_DocumentDeletionReason] PRIMARY KEY NONCLUSTERED  ([DocumentDeletionReasonID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[DocumentDeletionReason] ADD CONSTRAINT [IX_DocumentDeletionReason_Reason] UNIQUE CLUSTERED  ([Reason]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[DocumentDeletionReason] TO [MssExec]
GRANT INSERT ON  [dbo].[DocumentDeletionReason] TO [MssExec]
GRANT DELETE ON  [dbo].[DocumentDeletionReason] TO [MssExec]
GRANT UPDATE ON  [dbo].[DocumentDeletionReason] TO [MssExec]
GO
Uses
Used By