Tables [dbo].[XmlInterfaceServiceTypeMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)0
Created7:37:26 PM Thursday, August 29, 2024
Last Modified7:37:26 PM Thursday, August 29, 2024
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlInterfaceServiceTypeMap: XmlInterfaceServiceTypeMapIdXmlInterfaceServiceTypeMapIdint4
No
1 - 1
Foreign Keys FK_XmlInterfaceServiceTypeMap_ServType: [dbo].[ServType].ServTypeFidServTypeFidint4
No
Foreign Keys FK_XmlInterfaceServiceTypeMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFidIndexes IX_XmlInterfaceServiceTypeMap_XmlInterfaceServiceType_ExternalCode: XmlInterfaceFid\ExternalCodeXmlInterfaceFidint4
No
Indexes IX_XmlInterfaceServiceTypeMap_XmlInterfaceServiceType_ExternalCode: XmlInterfaceFid\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInterfaceServiceTypeMap: XmlInterfaceServiceTypeMapIdPK_XmlInterfaceServiceTypeMapXmlInterfaceServiceTypeMapId
Yes
IX_XmlInterfaceServiceTypeMap_XmlInterfaceServiceType_ExternalCodeXmlInterfaceFid, ExternalCode
Yes
Foreign Keys Foreign Keys
NameDeleteColumns
FK_XmlInterfaceServiceTypeMap_ServTypeCascadeServTypeFid->[dbo].[ServType].[ServiceID]
FK_XmlInterfaceServiceTypeMap_XmlInterfaceCascadeXmlInterfaceFid->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInterfaceServiceTypeMap]
(
[XmlInterfaceServiceTypeMapId] [int] NOT NULL IDENTITY(1, 1),
[ServTypeFid] [int] NOT NULL,
[XmlInterfaceFid] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfaceServiceTypeMap] ADD CONSTRAINT [PK_XmlInterfaceServiceTypeMap] PRIMARY KEY NONCLUSTERED  ([XmlInterfaceServiceTypeMapId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfaceServiceTypeMap] ADD CONSTRAINT [IX_XmlInterfaceServiceTypeMap_XmlInterfaceServiceType_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFid], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInterfaceServiceTypeMap] ADD CONSTRAINT [FK_XmlInterfaceServiceTypeMap_ServType] FOREIGN KEY ([ServTypeFid]) REFERENCES [dbo].[ServType] ([ServiceID]) ON DELETE CASCADE
GO
ALTER TABLE [dbo].[XmlInterfaceServiceTypeMap] ADD CONSTRAINT [FK_XmlInterfaceServiceTypeMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFid]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID]) ON DELETE CASCADE
GO
GRANT SELECT ON  [dbo].[XmlInterfaceServiceTypeMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInterfaceServiceTypeMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInterfaceServiceTypeMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInterfaceServiceTypeMap] TO [MssExec]
GO
Uses
Used By