[dbo].[QueueServiceServer]
CREATE TABLE [dbo].[QueueServiceServer]
(
[QueueServiceServerID] [int] NOT NULL IDENTITY(1, 1),
[QueueServiceSetupFID] [int] NOT NULL,
[QueueServerName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ServerSystemName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[QueueHomePath] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DiscardAllBadMessages] [bit] NOT NULL CONSTRAINT [DF_QueueServiceServer_DiscardAllBadMessages] DEFAULT ((0)),
[Inactive] [bit] NOT NULL CONSTRAINT [DF_QueueServiceServer_Inactive] DEFAULT ((0))
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceServer] ADD CONSTRAINT [PK_QueueServiceServer] PRIMARY KEY CLUSTERED ([QueueServiceServerID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceServer] ADD CONSTRAINT [IX_QueueServiceServer_QueueServerName] UNIQUE NONCLUSTERED ([QueueServerName]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceServer] ADD CONSTRAINT [FK_QueueServiceServer_QueueServiceSetup] FOREIGN KEY ([QueueServiceSetupFID]) REFERENCES [dbo].[QueueServiceSetup] ([QueueServiceSetupID])
GO
GRANT SELECT ON [dbo].[QueueServiceServer] TO [MssExec]
GRANT INSERT ON [dbo].[QueueServiceServer] TO [MssExec]
GRANT DELETE ON [dbo].[QueueServiceServer] TO [MssExec]
GRANT UPDATE ON [dbo].[QueueServiceServer] TO [MssExec]
GO