Tables [dbo].[XmlInternationalContainerLoadTypeMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)2
Created9:02:42 AM Friday, December 7, 2018
Last Modified9:02:42 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlInternationalContainerLoadTypeMap: XmlInternationalContainerLoadTypeMapIDXmlInternationalContainerLoadTypeMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadType_XMLInterface_ExternalCode: InternationalContainerLoadTypeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalContainerLoadTypeMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalContainerLoadTypeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadType_XMLInterface_ExternalCode: InternationalContainerLoadTypeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadType: [dbo].[InternationalContainerLoadType].InternationalContainerLoadTypeFIDInternationalContainerLoadTypeFIDint4
No
Cluster Key IX_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadType_XMLInterface_ExternalCode: InternationalContainerLoadTypeFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalContainerLoadTypeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalContainerLoadTypeMap: XmlInternationalContainerLoadTypeMapIDPK_XmlInternationalContainerLoadTypeMapXmlInternationalContainerLoadTypeMapID
Yes
Cluster Key IX_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadType_XMLInterface_ExternalCode: InternationalContainerLoadTypeFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadType_XMLInterface_ExternalCodeInternationalContainerLoadTypeFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalContainerLoadTypeMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadTypeInternationalContainerLoadTypeFID->[dbo].[InternationalContainerLoadType].[InternationalContainerLoadTypeID]
FK_XmlInternationalContainerLoadTypeMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalContainerLoadTypeMap]
(
[XmlInternationalContainerLoadTypeMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalContainerLoadTypeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalContainerLoadTypeMap] ADD CONSTRAINT [PK_XmlInternationalContainerLoadTypeMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalContainerLoadTypeMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalContainerLoadTypeMap] ADD CONSTRAINT [IX_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadType_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalContainerLoadTypeFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalContainerLoadTypeMap] ADD CONSTRAINT [IX_XmlInternationalContainerLoadTypeMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalContainerLoadTypeMap] ADD CONSTRAINT [FK_XmlInternationalContainerLoadTypeMap_InternationalContainerLoadType] FOREIGN KEY ([InternationalContainerLoadTypeFID]) REFERENCES [dbo].[InternationalContainerLoadType] ([InternationalContainerLoadTypeID])
GO
ALTER TABLE [dbo].[XmlInternationalContainerLoadTypeMap] ADD CONSTRAINT [FK_XmlInternationalContainerLoadTypeMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalContainerLoadTypeMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalContainerLoadTypeMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalContainerLoadTypeMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalContainerLoadTypeMap] TO [MssExec]
GO
Uses