Tables [dbo].[XmlInternationalServiceTypeMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)10
Created8:59:42 AM Friday, December 7, 2018
Last Modified8:59:42 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlInternationalServiceTypeMap: XmlInternationalServiceTypeMapIDXmlInternationalServiceTypeMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalServiceTypeMap_InternationalServiceTypeFID_XMLInterface_ExternalCode: InternationalServiceTypeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalServiceTypeMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalServiceTypeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalServiceTypeMap_InternationalServiceTypeFID_XMLInterface_ExternalCode: InternationalServiceTypeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalServiceTypeMap_InternationalServiceType: [dbo].[InternationalServiceType].InternationalServiceTypeFIDInternationalServiceTypeFIDint4
No
Cluster Key IX_XmlInternationalServiceTypeMap_InternationalServiceTypeFID_XMLInterface_ExternalCode: InternationalServiceTypeFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalServiceTypeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalServiceTypeMap: XmlInternationalServiceTypeMapIDPK_XmlInternationalServiceTypeMapXmlInternationalServiceTypeMapID
Yes
Cluster Key IX_XmlInternationalServiceTypeMap_InternationalServiceTypeFID_XMLInterface_ExternalCode: InternationalServiceTypeFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalServiceTypeMap_InternationalServiceTypeFID_XMLInterface_ExternalCodeInternationalServiceTypeFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalServiceTypeMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalServiceTypeMap_InternationalServiceTypeInternationalServiceTypeFID->[dbo].[InternationalServiceType].[InternationalServiceTypeID]
FK_XmlInternationalServiceTypeMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalServiceTypeMap]
(
[XmlInternationalServiceTypeMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalServiceTypeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalServiceTypeMap] ADD CONSTRAINT [PK_XmlInternationalServiceTypeMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalServiceTypeMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalServiceTypeMap] ADD CONSTRAINT [IX_XmlInternationalServiceTypeMap_InternationalServiceTypeFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalServiceTypeFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalServiceTypeMap] ADD CONSTRAINT [IX_XmlInternationalServiceTypeMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalServiceTypeMap] ADD CONSTRAINT [FK_XmlInternationalServiceTypeMap_InternationalServiceType] FOREIGN KEY ([InternationalServiceTypeFID]) REFERENCES [dbo].[InternationalServiceType] ([InternationalServiceTypeID])
GO
ALTER TABLE [dbo].[XmlInternationalServiceTypeMap] ADD CONSTRAINT [FK_XmlInternationalServiceTypeMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalServiceTypeMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalServiceTypeMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalServiceTypeMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalServiceTypeMap] TO [MssExec]
GO
Uses