Tables [dbo].[XmlInternationalConsolidatorMap]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created9:02:41 AM Friday, December 7, 2018
Last Modified9:02:42 AM Friday, December 7, 2018
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_XmlInternationalConsolidatorMap: XmlInternationalConsolidatorMapIDXmlInternationalConsolidatorMapIDint4
No
1 - 1
Cluster Key IX_XmlInternationalConsolidatorMap_InternationalConsolidatorFID_XMLInterface_ExternalCode: InternationalConsolidatorFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalConsolidatorMap_XmlInterface: [dbo].[XmlInterface].XmlInterfaceFIDIndexes IX_XmlInternationalConsolidatorMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeXmlInterfaceFIDint4
No
Cluster Key IX_XmlInternationalConsolidatorMap_InternationalConsolidatorFID_XMLInterface_ExternalCode: InternationalConsolidatorFID\XmlInterfaceFID\ExternalCodeForeign Keys FK_XmlInternationalConsolidatorMap_InternationalConsolidator: [dbo].[InternationalConsolidator].InternationalConsolidatorFIDInternationalConsolidatorFIDint4
No
Cluster Key IX_XmlInternationalConsolidatorMap_InternationalConsolidatorFID_XMLInterface_ExternalCode: InternationalConsolidatorFID\XmlInterfaceFID\ExternalCodeIndexes IX_XmlInternationalConsolidatorMap_XMLInterface_ExternalCode: XmlInterfaceFID\ExternalCodeExternalCodevarchar(32)32
No
Indexes Indexes
NameColumnsUnique
Primary Key PK_XmlInternationalConsolidatorMap: XmlInternationalConsolidatorMapIDPK_XmlInternationalConsolidatorMapXmlInternationalConsolidatorMapID
Yes
Cluster Key IX_XmlInternationalConsolidatorMap_InternationalConsolidatorFID_XMLInterface_ExternalCode: InternationalConsolidatorFID\XmlInterfaceFID\ExternalCodeIX_XmlInternationalConsolidatorMap_InternationalConsolidatorFID_XMLInterface_ExternalCodeInternationalConsolidatorFID, XmlInterfaceFID, ExternalCode
Yes
IX_XmlInternationalConsolidatorMap_XMLInterface_ExternalCodeXmlInterfaceFID, ExternalCode
Yes
Foreign Keys Foreign Keys
NameColumns
FK_XmlInternationalConsolidatorMap_InternationalConsolidatorInternationalConsolidatorFID->[dbo].[InternationalConsolidator].[InternationalConsolidatorID]
FK_XmlInternationalConsolidatorMap_XmlInterfaceXmlInterfaceFID->[dbo].[XmlInterface].[XmlInterfaceID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[XmlInternationalConsolidatorMap]
(
[XmlInternationalConsolidatorMapID] [int] NOT NULL IDENTITY(1, 1),
[XmlInterfaceFID] [int] NOT NULL,
[InternationalConsolidatorFID] [int] NOT NULL,
[ExternalCode] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalConsolidatorMap] ADD CONSTRAINT [PK_XmlInternationalConsolidatorMap] PRIMARY KEY NONCLUSTERED  ([XmlInternationalConsolidatorMapID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalConsolidatorMap] ADD CONSTRAINT [IX_XmlInternationalConsolidatorMap_InternationalConsolidatorFID_XMLInterface_ExternalCode] UNIQUE CLUSTERED  ([InternationalConsolidatorFID], [XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalConsolidatorMap] ADD CONSTRAINT [IX_XmlInternationalConsolidatorMap_XMLInterface_ExternalCode] UNIQUE NONCLUSTERED  ([XmlInterfaceFID], [ExternalCode]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XmlInternationalConsolidatorMap] ADD CONSTRAINT [FK_XmlInternationalConsolidatorMap_InternationalConsolidator] FOREIGN KEY ([InternationalConsolidatorFID]) REFERENCES [dbo].[InternationalConsolidator] ([InternationalConsolidatorID])
GO
ALTER TABLE [dbo].[XmlInternationalConsolidatorMap] ADD CONSTRAINT [FK_XmlInternationalConsolidatorMap_XmlInterface] FOREIGN KEY ([XmlInterfaceFID]) REFERENCES [dbo].[XmlInterface] ([XmlInterfaceID])
GO
GRANT SELECT ON  [dbo].[XmlInternationalConsolidatorMap] TO [MssExec]
GRANT INSERT ON  [dbo].[XmlInternationalConsolidatorMap] TO [MssExec]
GRANT DELETE ON  [dbo].[XmlInternationalConsolidatorMap] TO [MssExec]
GRANT UPDATE ON  [dbo].[XmlInternationalConsolidatorMap] TO [MssExec]
GO
Uses