[dbo].[QueueServiceQueueType]
CREATE TABLE [dbo].[QueueServiceQueueType]
(
[QueueServiceQueueTypeID] [int] NOT NULL IDENTITY(1, 1),
[QueueTypeName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SystemName] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceQueueType] ADD CONSTRAINT [PK_QueueServiceQueueType] PRIMARY KEY CLUSTERED ([QueueServiceQueueTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceQueueType] ADD CONSTRAINT [IX_QueueServiceQueueType_QueueTypeName] UNIQUE NONCLUSTERED ([QueueTypeName]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceQueueType] ADD CONSTRAINT [IX_QueueServiceQueueType_SystemName] UNIQUE NONCLUSTERED ([SystemName]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[QueueServiceQueueType] TO [MssExec]
GRANT INSERT ON [dbo].[QueueServiceQueueType] TO [MssExec]
GRANT DELETE ON [dbo].[QueueServiceQueueType] TO [MssExec]
GRANT UPDATE ON [dbo].[QueueServiceQueueType] TO [MssExec]
GO