Tables [dbo].[QueueServiceMessageType]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)27
Created3:45:53 PM Thursday, December 6, 2018
Last Modified9:19:29 AM Friday, November 8, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_QueueServiceMessageType: QueueServiceMessageTypeIDQueueServiceMessageTypeIDint4
No
1 - 1
MessageTypeCodevarchar(32)32
No
Indexes IX_QueueServiceMessageType_MessageType: MessageTypeMessageTypevarchar(64)64
No
HandlerInterfacevarchar(48)48
No
Indexes IX_QueueServiceMessageType_DocumentElement: DocumentElementDocumentElementvarchar(48)48
Yes
PropertyListvarchar(255)255
Yes
Foreign Keys FK_QueueServiceMessageType_QueueServiceMessageFormat: [dbo].[QueueServiceMessageFormat].QueueServiceMessageFormatFIDQueueServiceMessageFormatFIDint4
No
ProcessingOrderint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_QueueServiceMessageType: QueueServiceMessageTypeIDPK_QueueServiceMessageTypeQueueServiceMessageTypeID
Yes
IX_QueueServiceMessageType_MessageTypeMessageType
Yes
IX_QueueServiceMessageType_DocumentElementDocumentElement
Foreign Keys Foreign Keys
NameColumns
FK_QueueServiceMessageType_QueueServiceMessageFormatQueueServiceMessageFormatFID->[dbo].[QueueServiceMessageFormat].[QueueServiceMessageFormatID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[QueueServiceMessageType]
(
[QueueServiceMessageTypeID] [int] NOT NULL IDENTITY(1, 1),
[MessageTypeCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[MessageType] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[HandlerInterface] [varchar] (48) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DocumentElement] [varchar] (48) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[PropertyList] [varchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[QueueServiceMessageFormatFID] [int] NOT NULL,
[ProcessingOrder] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceMessageType] ADD CONSTRAINT [PK_QueueServiceMessageType] PRIMARY KEY CLUSTERED  ([QueueServiceMessageTypeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceMessageType] ADD CONSTRAINT [IX_QueueServiceMessageType_MessageType] UNIQUE NONCLUSTERED  ([MessageType]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_QueueServiceMessageType_DocumentElement] ON [dbo].[QueueServiceMessageType] ([DocumentElement]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[QueueServiceMessageType] ADD CONSTRAINT [FK_QueueServiceMessageType_QueueServiceMessageFormat] FOREIGN KEY ([QueueServiceMessageFormatFID]) REFERENCES [dbo].[QueueServiceMessageFormat] ([QueueServiceMessageFormatID])
GO
GRANT SELECT ON  [dbo].[QueueServiceMessageType] TO [MssExec]
GRANT INSERT ON  [dbo].[QueueServiceMessageType] TO [MssExec]
GRANT DELETE ON  [dbo].[QueueServiceMessageType] TO [MssExec]
GRANT UPDATE ON  [dbo].[QueueServiceMessageType] TO [MssExec]
GO
Uses
Used By