[dbo].[DocumentDeletionReason]
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