Tables [dbo].[XmlInternationalTransportationModeMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)5
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_XmlInternationalTransportationModeMap: XmlInternationalTransportationModeMapIDXmlInternationalTransportationModeMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalTransportationModeMap_InternationalTransportationModeFID_XMLInterface_ExternalCode: InternationalTransportationModeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalTransportationModeMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalTransportationModeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalTransportationModeMap_InternationalTransportationModeFID_XMLInterface_ExternalCode: InternationalTransportationModeFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalTransportationModeMap_InternationalTransportationMode: [dbo].[InternationalTransportationMode].InternationalTransportationModeFIDInternationalTransportationModeFIDint4
No
Cluster Key IX_XmlInternationalTransportationModeMap_InternationalTransportationModeFID_XMLInterface_ExternalCode: InternationalTransportationModeFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalTransportationModeMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalTransportationModeMap: XmlInternationalTransportationModeMapIDPK_XmlInternationalTransportationModeMapXmlInternationalTransportationModeMapID
Yes
Cluster Key IX_XmlInternationalTransportationModeMap_InternationalTransportationModeFID_XMLInterface_ExternalCode: InternationalTransportationModeFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalTransportationModeMap_InternationalTransportationModeFID_XMLInterface_ExternalCodeInternationalTransportationModeFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalTransportationModeMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalTransportationModeMap_InternationalTransportationModeInternationalTransportationModeFID->[dbo].[InternationalTransportationMode].[InternationalTransportationModeID]
FK_XmlInternationalTransportationModeMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalTransportationModeMap]
(
[XmlInternationalTransportationModeMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalTransportationModeFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalTransportationModeMap] ADD CONSTRAINT [PK_XmlInternationalTransportationModeMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalTransportationModeMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalTransportationModeMap] ADD CONSTRAINT [IX_XmlInternationalTransportationModeMap_InternationalTransportationModeFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalTransportationModeFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalTransportationModeMap] ADD CONSTRAINT [IX_XmlInternationalTransportationModeMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalTransportationModeMap] ADD CONSTRAINT [FK_XmlInternationalTransportationModeMap_InternationalTransportationMode] FOREIGN KEY ([InternationalTransportationModeFID]) REFERENCES [dbo].[InternationalTransportationMode] ([InternationalTransportationModeID])
GO
ALTER TABLE [dbo].[XmlInternationalTransportationModeMap] ADD CONSTRAINT [FK_XmlInternationalTransportationModeMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalTransportationModeMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalTransportationModeMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalTransportationModeMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalTransportationModeMap] TO [MssExec]
GO
Uses