[dbo].[PersonnelDocumentGroup]
CREATE TABLE [dbo].[PersonnelDocumentGroup]
(
[PersonnelDocumentGroupID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SortBy] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PersonnelDocumentGroup] ADD CONSTRAINT [PK_PersonnelDocumentGroup] PRIMARY KEY CLUSTERED ([PersonnelDocumentGroupID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PersonnelDocumentGroup] ADD CONSTRAINT [IX_PersonnelDocumentGroup_Description] UNIQUE NONCLUSTERED ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[PersonnelDocumentGroup] TO [MssExec]
GRANT INSERT ON [dbo].[PersonnelDocumentGroup] TO [MssExec]
GRANT DELETE ON [dbo].[PersonnelDocumentGroup] TO [MssExec]
GRANT UPDATE ON [dbo].[PersonnelDocumentGroup] TO [MssExec]
GO