[dbo].[ReportArchiveType]
CREATE TABLE [dbo].[ReportArchiveType]
(
[ReportArchiveTypeID] [int] NOT NULL IDENTITY(1, 1),
[ReportArchiveTypeCode] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ReportArchiveDescription] [varchar] (100) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[FileExtension] [varchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ReportArchiveType] ADD CONSTRAINT [PK_ReportArchiveType] PRIMARY KEY CLUSTERED ([ReportArchiveTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ReportArchiveType] ADD CONSTRAINT [IX_Unique_ReportArchiveTypeCode] UNIQUE NONCLUSTERED ([ReportArchiveTypeCode]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[ReportArchiveType] TO [MssExec]
GRANT INSERT ON [dbo].[ReportArchiveType] TO [MssExec]
GRANT DELETE ON [dbo].[ReportArchiveType] TO [MssExec]
GRANT UPDATE ON [dbo].[ReportArchiveType] TO [MssExec]
GO