Tables [dbo].[XmlInternationalCarrierMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
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_XmlInternationalCarrierMap: XmlInternationalCarrierMapIDXmlInternationalCarrierMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalCarrierMap_InternationalCarrierFID_XMLInterface_ExternalCode: InternationalCarrierFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalCarrierMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalCarrierMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalCarrierMap_InternationalCarrierFID_XMLInterface_ExternalCode: InternationalCarrierFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalCarrierMap_InternationalCarrier: [dbo].[InternationalCarrier].InternationalCarrierFIDInternationalCarrierFIDint4
No
Cluster Key IX_XmlInternationalCarrierMap_InternationalCarrierFID_XMLInterface_ExternalCode: InternationalCarrierFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalCarrierMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalCarrierMap: XmlInternationalCarrierMapIDPK_XmlInternationalCarrierMapXmlInternationalCarrierMapID
Yes
Cluster Key IX_XmlInternationalCarrierMap_InternationalCarrierFID_XMLInterface_ExternalCode: InternationalCarrierFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalCarrierMap_InternationalCarrierFID_XMLInterface_ExternalCodeInternationalCarrierFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalCarrierMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalCarrierMap_InternationalCarrierInternationalCarrierFID->[dbo].[InternationalCarrier].[InternationalCarrierID]
FK_XmlInternationalCarrierMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalCarrierMap]
(
[XmlInternationalCarrierMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalCarrierFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalCarrierMap] ADD CONSTRAINT [PK_XmlInternationalCarrierMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalCarrierMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalCarrierMap] ADD CONSTRAINT [IX_XmlInternationalCarrierMap_InternationalCarrierFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalCarrierFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalCarrierMap] ADD CONSTRAINT [IX_XmlInternationalCarrierMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalCarrierMap] ADD CONSTRAINT [FK_XmlInternationalCarrierMap_InternationalCarrier] FOREIGN KEY ([InternationalCarrierFID]) REFERENCES [dbo].[InternationalCarrier] ([InternationalCarrierID])
GO
ALTER TABLE [dbo].[XmlInternationalCarrierMap] ADD CONSTRAINT [FK_XmlInternationalCarrierMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalCarrierMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalCarrierMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalCarrierMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalCarrierMap] TO [MssExec]
GO
Uses