Tables [dbo].[XmlSystemRequestQueue]
Properties
PropertyValue
Row Count (~)0
Created9:04:43 AM Friday, November 22, 2024
Last Modified9:04:43 AM Friday, November 22, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_XmlSystemRequestQueue: XmlSystemRequestQueueIdXmlSystemRequestQueueIdint4
No
1 - 1
Foreign Keys FK_XmlSystemRequestQueue_XmlSystemDataTypeMap: [dbo].[XmlSystemDataTypeMap].XmlSystemDataTypeMapFidXmlSystemDataTypeMapFidint4
No
Foreign Keys FK_XmlSystemRequestQueue_XmlSystemRequestType: [dbo].[XmlSystemRequestType].XmlSystemRequestTypeFidXmlSystemRequestTypeFidint4
No
Foreign Keys FK_XmlSystemRequestQueue_Orders: [dbo].[Orders].OrderFidOrderFidint4
No
Foreign Keys FK_XmlSystemRequestQueue_SysUser: [dbo].[Sysuser].SysUserFidSysUserFidint4
No
Foreign Keys FK_XmlSystemRequestQueue_XmlSystemRequestStatus: [dbo].[XmlSystemRequestStatus].XmlSystemRequestStatusFidXmlSystemRequestStatusFidint4
No
Indexes Indexes
NameColumnsUnique
Cluster Primary Key PK_XmlSystemRequestQueue: XmlSystemRequestQueueIdPK_XmlSystemRequestQueueXmlSystemRequestQueueId
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlSystemRequestQueue_OrdersOrderFid->[dbo].[Orders].[PriKey]
FK_XmlSystemRequestQueue_SysUserSysUserFid->[dbo].[Sysuser].[SysUserID]
FK_XmlSystemRequestQueue_XmlSystemDataTypeMapXmlSystemDataTypeMapFid->[dbo].[XmlSystemDataTypeMap].[XmlSystemDataTypeMapID]
FK_XmlSystemRequestQueue_XmlSystemRequestStatusXmlSystemRequestStatusFid->[dbo].[XmlSystemRequestStatus].[XmlSystemRequestStatusId]
FK_XmlSystemRequestQueue_XmlSystemRequestTypeXmlSystemRequestTypeFid->[dbo].[XmlSystemRequestType].[XmlSystemRequestTypeId]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlSystemRequestQueue]
(
[XmlSystemRequestQueueId] [int] NOT NULL IDENTITY(1, 1),
[XmlSystemDataTypeMapFid] [int] NOT NULL,
[XmlSystemRequestTypeFid] [int] NOT NULL,
[OrderFid] [int] NOT NULL,
[SysUserFid] [int] NOT NULL,
[XmlSystemRequestStatusFid] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemRequestQueue] ADD CONSTRAINT [PK_XmlSystemRequestQueue] PRIMARY KEY CLUSTERED  ([XmlSystemRequestQueueId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlSystemRequestQueue] ADD CONSTRAINT [FK_XmlSystemRequestQueue_Orders] FOREIGN KEY ([OrderFid]) REFERENCES [dbo].[Orders] ([PriKey])
GO
ALTER TABLE [dbo].[XmlSystemRequestQueue] ADD CONSTRAINT [FK_XmlSystemRequestQueue_SysUser] FOREIGN KEY ([SysUserFid]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
ALTER TABLE [dbo].[XmlSystemRequestQueue] ADD CONSTRAINT [FK_XmlSystemRequestQueue_XmlSystemDataTypeMap] FOREIGN KEY ([XmlSystemDataTypeMapFid]) REFERENCES [dbo].[XmlSystemDataTypeMap] ([XmlSystemDataTypeMapID])
GO
ALTER TABLE [dbo].[XmlSystemRequestQueue] ADD CONSTRAINT [FK_XmlSystemRequestQueue_XmlSystemRequestStatus] FOREIGN KEY ([XmlSystemRequestStatusFid]) REFERENCES [dbo].[XmlSystemRequestStatus] ([XmlSystemRequestStatusId])
GO
ALTER TABLE [dbo].[XmlSystemRequestQueue] ADD CONSTRAINT [FK_XmlSystemRequestQueue_XmlSystemRequestType] FOREIGN KEY ([XmlSystemRequestTypeFid]) REFERENCES [dbo].[XmlSystemRequestType] ([XmlSystemRequestTypeId])
GO
GRANT SELECT ON  [dbo].[XmlSystemRequestQueue] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlSystemRequestQueue] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlSystemRequestQueue] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlSystemRequestQueue] TO [MssExec]
GO
Uses
Used By