[dbo].[EquipmentDocumentGroup]
CREATE TABLE [dbo].[EquipmentDocumentGroup]
(
[EquipmentDocumentGroupID] [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].[EquipmentDocumentGroup] ADD CONSTRAINT [PK_EquipmentDocumentGroup] PRIMARY KEY CLUSTERED ([EquipmentDocumentGroupID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[EquipmentDocumentGroup] ADD CONSTRAINT [IX_EquipmentDocumentGroup_Description] UNIQUE NONCLUSTERED ([Description]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[EquipmentDocumentGroup] TO [MssExec]
GRANT INSERT ON [dbo].[EquipmentDocumentGroup] TO [MssExec]
GRANT DELETE ON [dbo].[EquipmentDocumentGroup] TO [MssExec]
GRANT UPDATE ON [dbo].[EquipmentDocumentGroup] TO [MssExec]
GO