Tables [dbo].[QueueServiceServerQueue]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)34
Created3:53:08 PM Thursday, December 6, 2018
Last Modified3:53:09 PM Thursday, December 6, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK_QueueServiceServerQueue: QueueServiceServerQueueIDQueueServiceServerQueueIDint4
No
1 - 1
Foreign Keys FK_QueueServiceServerQueue_QueueServiceServer: [dbo].[QueueServiceServer].QueueServiceServerFIDIndexes IX_QueueServiceServerQueue_QueueServiceQueueRole: QueueServiceServerFID\QueueServiceQueueRoleFIDQueueServiceServerFIDint4
No
Foreign Keys FK_QueueServiceServerQueue_QueueServiceQueueRole: [dbo].[QueueServiceQueueRole].QueueServiceQueueRoleFIDIndexes IX_QueueServiceServerQueue_QueueServiceQueueRole: QueueServiceServerFID\QueueServiceQueueRoleFIDQueueServiceQueueRoleFIDint4
No
Foreign Keys FK_QueueServiceServerQueue_QueueServiceQueueType: [dbo].[QueueServiceQueueType].QueueServiceQueueTypeFIDQueueServiceQueueTypeFIDint4
No
QueuePathvarchar(128)128
No
Inactivebit1
No
((0))
Filtervarchar(32)32
Yes
MinMsgAgeMillisecondsint4
Yes
MessageTypevarchar(4)4
Yes
QueueManagerNamevarchar(64)64
Yes
ChannelNamevarchar(64)64
Yes
ConnectionNamevarchar(64)64
Yes
DefaultReceiveFormatvarchar(64)64
Yes
UseMessageGroupingbit1
Yes
TransportTypevarchar(64)64
Yes
Encodingvarchar(32)32
Yes
RetryMaxAllowedAgeInSecondsint4
Yes
RetryMaxAllowedAttemptsint4
Yes
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_QueueServiceServerQueue: QueueServiceServerQueueIDPK_QueueServiceServerQueueQueueServiceServerQueueID
Yes
IX_QueueServiceServerQueue_QueueServiceQueueRoleQueueServiceServerFID, QueueServiceQueueRoleFID
Yes
Foreign Keys Foreign Keys
NameColumns
FK_QueueServiceServerQueue_QueueServiceQueueRoleQueueServiceQueueRoleFID->[dbo].[QueueServiceQueueRole].[QueueServiceQueueRoleID]
FK_QueueServiceServerQueue_QueueServiceQueueTypeQueueServiceQueueTypeFID->[dbo].[QueueServiceQueueType].[QueueServiceQueueTypeID]
FK_QueueServiceServerQueue_QueueServiceServerQueueServiceServerFID->[dbo].[QueueServiceServer].[QueueServiceServerID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[QueueServiceServerQueue]
(
[QueueServiceServerQueueID] [int] NOT NULL IDENTITY(1, 1),
[QueueServiceServerFID] [int] NOT NULL,
[QueueServiceQueueRoleFID] [int] NOT NULL,
[QueueServiceQueueTypeFID] [int] NOT NULL,
[QueuePath] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Inactive] [bit] NOT NULL CONSTRAINT [DF_QueueServiceServerQueue_Inactive] DEFAULT ((0)),
[Filter] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[MinMsgAgeMilliseconds] [int] NULL,
[MessageType] [varchar] (4) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[QueueManagerName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ChannelName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ConnectionName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[DefaultReceiveFormat] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[UseMessageGrouping] [bit] NULL,
[TransportType] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Encoding] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[RetryMaxAllowedAgeInSeconds] [int] NULL,
[RetryMaxAllowedAttempts] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceServerQueue] ADD CONSTRAINT [PK_QueueServiceServerQueue] PRIMARY KEY CLUSTERED  ([QueueServiceServerQueueID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceServerQueue] ADD CONSTRAINT [IX_QueueServiceServerQueue_QueueServiceQueueRole] UNIQUE NONCLUSTERED  ([QueueServiceServerFID], [QueueServiceQueueRoleFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceServerQueue] ADD CONSTRAINT [FK_QueueServiceServerQueue_QueueServiceQueueRole] FOREIGN KEY ([QueueServiceQueueRoleFID]) REFERENCES [dbo].[QueueServiceQueueRole] ([QueueServiceQueueRoleID])
GO
ALTER TABLE [dbo].[QueueServiceServerQueue] ADD CONSTRAINT [FK_QueueServiceServerQueue_QueueServiceQueueType] FOREIGN KEY ([QueueServiceQueueTypeFID]) REFERENCES [dbo].[QueueServiceQueueType] ([QueueServiceQueueTypeID])
GO
ALTER TABLE [dbo].[QueueServiceServerQueue] ADD CONSTRAINT [FK_QueueServiceServerQueue_QueueServiceServer] FOREIGN KEY ([QueueServiceServerFID]) REFERENCES [dbo].[QueueServiceServer] ([QueueServiceServerID])
GO
GRANT SELECT ON  [dbo].[QueueServiceServerQueue] TO [MssExec]
GRANT INSERT ON  [dbo].[QueueServiceServerQueue] TO [MssExec]
GRANT DELETE ON  [dbo].[QueueServiceServerQueue] TO [MssExec]
GRANT UPDATE ON  [dbo].[QueueServiceServerQueue] TO [MssExec]
GO
Uses